Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Sep 25, 2024
1 parent b3189d9 commit 5ab356e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/admins/admin-operations.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class AdminOperationsResolver {
}

@Mutation(() => Boolean)
// @UseGuards(JwtOrNativeAuthGuard, GqlAdminAuthGuard)
@UseGuards(JwtOrNativeAuthGuard, GqlAdminAuthGuard)
async trigerScamUpdate(@Args('input', { type: () => ScamUpdateInput }) input: ScamUpdateInput): Promise<boolean> {
this.scamUpdatePublisherService.publish({ collectionIdentifier: input.collectionIdentifier, type: input.type });
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export class ScamUpdateEventsConsumer {
exchange: rabbitExchanges.SCAM_UPDATE,
})
async consumeScamEvents(event: MarkScamCollectionEvent) {
console.log({ event })
if (event.type === ScamInputEnum.allow) {
await this.collectionScamService.manuallyClearCollectionScamInfo(event.collectionIdentifier)
} else {
Expand Down

0 comments on commit 5ab356e

Please sign in to comment.