refactor(frontend): remove warn moderation status — hardcode warn to 0 in charts, drop warn filter/badge/buttons/Api, simplify to flagged-only
This commit is contained in:
@@ -178,17 +178,6 @@ export function reanalyzeErrorBatch(opts: {
|
||||
);
|
||||
}
|
||||
|
||||
export function moderateMessage(
|
||||
id: string,
|
||||
actionType: string,
|
||||
reason?: string,
|
||||
): Promise<{ ok: boolean }> {
|
||||
return request<{ ok: boolean }>(`/api/messages/${id}/moderate`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify({ actionType, reason }),
|
||||
});
|
||||
}
|
||||
|
||||
// ─── Guilds / Config ─────────────────────────────────────────────────────────
|
||||
|
||||
export function getGuilds(): Promise<Guild[]> {
|
||||
|
||||
Reference in New Issue
Block a user