mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:53:09 +02:00
refactor: use insert
This commit is contained in:
parent
386d3cd997
commit
0005de6a98
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default define(meta, async (ps, user) => {
|
|||
}
|
||||
|
||||
// Create mute
|
||||
await Mutings.save({
|
||||
await Mutings.insert({
|
||||
id: genId(),
|
||||
createdAt: new Date(),
|
||||
muterId: muter.id,
|
||||
|
|
Loading…
Reference in a new issue