From 3865b250b62471d649965dab246dd9e69c501c6c Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Oct 2021 01:02:04 +0900 Subject: [PATCH] refactor: use insert --- src/server/api/endpoints/mute/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/mute/create.ts b/src/server/api/endpoints/mute/create.ts index 5163ed63d..3fc64d3eb 100644 --- a/src/server/api/endpoints/mute/create.ts +++ b/src/server/api/endpoints/mute/create.ts @@ -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,