mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove console.log and commented code.
This commit is contained in:
parent
003c534f47
commit
84b81f6dc4
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user