Skip to content

Commit

Permalink
fix: typescript types be like
Browse files Browse the repository at this point in the history
  • Loading branch information
chikof committed Apr 11, 2024
1 parent 71ad4bf commit e926433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/bot/services/tag.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ export class BotTagService implements OnModuleInit {
}: ConnectBotTagsToBotInput) {
return this._drizzleService
.delete(botToTag)
.where(and(inArray(botToTag.b, tagNames), eq(botToTag.a, botId)));
.where(and(inArray(botToTag.b, tagNames), eq(botToTag.a, botId)))
.returning()
.execute();
}

/**
Expand Down

0 comments on commit e926433

Please sign in to comment.