Added entity reporting.

This commit is contained in:
2026-11-13 00:23:13 +01:00
parent 6143c41668
commit 1d219850d7
18 changed files with 840 additions and 5 deletions
+3
View File
@@ -19,6 +19,7 @@ import { curateRevision } from './revisions.js';
import { curateStash } from './stashes.js';
import { syncScenes } from './sync.js';
import { fetchTagsById } from './tags.js';
import { verifyNotBanned } from './users.js';
const logger = initLogger();
const mj = new MerkleJson();
@@ -1130,6 +1131,8 @@ export async function createSceneRevision(sceneId, { edits, comment, apply }, re
throw new HttpError('Must be authenticated to create scene revision', 401);
}
await verifyNotBanned(reqUser, 'revisions', 'You are not allowed to submit revisions');
const [
[scene],
openRevisions,