Remove console.log and commented code.

This commit is contained in:
elweyn 2021-12-21 14:38:18 +01:00
parent 003c534f47
commit 84b81f6dc4
2 changed files with 0 additions and 43 deletions

View File

@ -217,17 +217,6 @@ export default {
moderator: Number(this.$store.state.moderator.id),
})
})
console.log('submitObj', this.submitObj)
// this.submitObj = [
// {
// item: this.itemsMassCreation,
// email: this.item.email,
// creationDate: this.radioSelected.long,
// amount: this.value,
// memo: this.text,
// moderator: this.$store.state.moderator.id,
// },
// ]
// eslint-disable-next-line no-console
console.log('MehrfachSCHÖPFUNG ABSENDEN FÜR >> ' + i + ' Mitglieder')
this.$apollo
@ -239,7 +228,6 @@ export default {
fetchPolicy: 'no-cache',
})
.then((result) => {
console.log('result', result)
this.$store.commit(
'openCreationsPlus',
result.data.createPendingCreations.successfulCreation.length,

View File

@ -85,37 +85,6 @@ export class AdminResolver {
failedCreation.push(pendingCreation.email)
})
}
// await Promise.all(
// pendingCreations.map(async (pendingCreation) => {
// await this.createPendingCreation(pendingCreation)
// .then((result) => {
// console.log('Successfuly created ' + JSON.stringify(pendingCreation) + ' ' + result)
// successfulCreation.push(pendingCreation.email)
// success = true
// })
// .catch(() => {
// console.log('Failed to creat ' + JSON.stringify(pendingCreation))
// failedCreation.push(pendingCreation.email)
// })
// }),
// )
// await pendingCreations.forEach(async (pendingCreation) => {
// await this.createPendingCreation(pendingCreation)
// .then((result) => {
// console.log('Successfuly created ' + JSON.stringify(pendingCreation) + ' ' + result)
// successfulCreation.push(pendingCreation.email)
// success = true
// })
// .catch(() => {
// console.log('Failed to creat ' + JSON.stringify(pendingCreation))
// failedCreation.push(pendingCreation.email)
// })
// })
console.log('createPendingCreations', {
success,
successfulCreation,
failedCreation,
})
return {
success,
successfulCreation,