Skip to content
Snippets Groups Projects
Commit 0005de6a authored by syuilo's avatar syuilo
Browse files

refactor: use insert

parent 386d3cd9
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment