Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
refactor: use insert
Browse files Browse the repository at this point in the history
  • Loading branch information
sousuke0422 committed Nov 6, 2021
1 parent 515d172 commit 326f37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/endpoints/mute/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default define(meta, async (ps, user) => {
}

// Create mute
await Mutings.save({
await Mutings.insert({
id: genId(),
createdAt: new Date(),
muterId: muter.id,
Expand Down

0 comments on commit 326f37d

Please sign in to comment.