diff --git a/src/controllers/api/admin.ts b/src/controllers/api/admin.ts index 9da15bce..a9ec619b 100644 --- a/src/controllers/api/admin.ts +++ b/src/controllers/api/admin.ts @@ -107,13 +107,13 @@ const adminActionController: AppController = async (c) => { n.sensitive = true; } if (data.type === 'disable') { - n.disable = true; + n.disabled = true; } if (data.type === 'silence') { - n.silence = true; + n.silenced = true; } if (data.type === 'suspend') { - n.suspend = true; + n.suspended = true; } await updateUser(authorId, n, c); diff --git a/src/pipeline.ts b/src/pipeline.ts index 20fed92d..9f99520b 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -45,10 +45,10 @@ async function handleEvent(event: DittoEvent, signal: AbortSignal): Promise