mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
Setup rejecctContribution method.
This commit is contained in:
parent
907cd03ab8
commit
30c72bb734
@ -252,4 +252,13 @@ export class ContributionResolver {
|
||||
|
||||
return new UnconfirmedContribution(contributionToUpdate, user, creations)
|
||||
}
|
||||
|
||||
@Authorized([RIGHTS.REJECT_CONTRIBUTION])
|
||||
@Mutation(() => Boolean)
|
||||
async rejectContribution(
|
||||
@Arg('id', () => Int) id: number,
|
||||
@Ctx() context: Context,
|
||||
): Promise<boolean> {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user