mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix wrong id in find statement
This commit is contained in:
parent
03e67604ba
commit
dcf2e1a19e
@ -206,7 +206,7 @@ export class AdminResolver {
|
|||||||
|
|
||||||
return pendingCreations.map((pendingCreation) => {
|
return pendingCreations.map((pendingCreation) => {
|
||||||
const user = users.find((u) => u.id === pendingCreation.userId)
|
const user = users.find((u) => u.id === pendingCreation.userId)
|
||||||
const creation = userCreations.find((c) => c.id === pendingCreation.id)
|
const creation = userCreations.find((c) => c.id === pendingCreation.userId)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...pendingCreation,
|
...pendingCreation,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user