mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
pendingCreationRepository.manager.remove res - fix prettier
This commit is contained in:
parent
12329bba98
commit
f2c31b7d68
@ -84,7 +84,7 @@ export class AdminResolver {
|
||||
const entity = await pendingCreationRepository.findOne(id)
|
||||
if (!entity) throw new Error('Not pending creation with this id.')
|
||||
const res = await pendingCreationRepository.manager.remove(entity)
|
||||
return res ? true : false
|
||||
return !!res
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user