mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-17 18:31:27 +00:00
Remove the console.log, remove unused Int.
This commit is contained in:
parent
84b81f6dc4
commit
967e47908a
@ -1,4 +1,4 @@
|
||||
import { ObjectType, Field, Int } from 'type-graphql'
|
||||
import { ObjectType, Field } from 'type-graphql'
|
||||
|
||||
@ObjectType()
|
||||
export class CreatePendingCreations {
|
||||
|
||||
@ -75,13 +75,11 @@ export class AdminResolver {
|
||||
const failedCreation: string[] = []
|
||||
for (const pendingCreation of pendingCreations) {
|
||||
await this.createPendingCreation(pendingCreation)
|
||||
.then((result) => {
|
||||
console.log('Successfuly created ' + JSON.stringify(pendingCreation) + ' ' + result)
|
||||
.then(() => {
|
||||
successfulCreation.push(pendingCreation.email)
|
||||
success = true
|
||||
})
|
||||
.catch(() => {
|
||||
console.log('Failed to creat ' + JSON.stringify(pendingCreation))
|
||||
failedCreation.push(pendingCreation.email)
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user