mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
refactor: use insert
This commit is contained in:
parent
387aea7456
commit
3865b250b6
@ -67,7 +67,7 @@ export default define(meta, async (ps, user) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create mute
|
// Create mute
|
||||||
await Mutings.save({
|
await Mutings.insert({
|
||||||
id: genId(),
|
id: genId(),
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
muterId: muter.id,
|
muterId: muter.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user