Skip to content

Commit

Permalink
fix(graphql,auth,#1026): Fixed auth context on deleteMany
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoelk authored and doug-martin committed Apr 13, 2021
1 parent 67637a8 commit 3d4efd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/query-graphql/src/resolvers/delete.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const Deletable = <DTO, QS extends QueryService<DTO, unknown, unknown>>(
@MutationHookArgs() input: DM,
@AuthorizerFilter({
operationGroup: OperationGroup.DELETE,
many: false,
many: true,
})
authorizeFilter?: Filter<DTO>,
): Promise<DeleteManyResponse> {
Expand Down

0 comments on commit 3d4efd4

Please sign in to comment.