refactor: use insert

This commit is contained in:
syuilo 2021-10-20 01:02:04 +09:00
parent 387aea7456
commit 3865b250b6

View File

@ -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,