Skip to content

Commit

Permalink
fix: fix logChannels update in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Nov 6, 2023
1 parent c99434c commit 80df762
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/commands/slash/Main/hub/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ export default class Logging extends Hub {
await db.hubs.update({
where: { id: hubInDb.id },
data: {
logChannels: {
set: { [type]: channel.id },
},
logChannels: { [type]: channel.id },
},
});

Expand Down

0 comments on commit 80df762

Please sign in to comment.