Merge branch 'dev' into prod
This commit is contained in:
@@ -403,9 +403,9 @@ export const performanceVerifyRoutes = new Elysia({
|
|||||||
.returning()
|
.returning()
|
||||||
|
|
||||||
// ── Remove screenshots marked for deletion ────────────────────────
|
// ── Remove screenshots marked for deletion ────────────────────────
|
||||||
const removedIds: string[] = Array.isArray(payload.removedScreenshotIds)
|
const removedIds: string[] = (Array.isArray(payload.removedScreenshotIds)
|
||||||
? payload.removedScreenshotIds
|
? payload.removedScreenshotIds.filter((id: unknown) => typeof id === "string" && id.length > 0)
|
||||||
: []
|
: [])
|
||||||
|
|
||||||
if (removedIds.length > 0) {
|
if (removedIds.length > 0) {
|
||||||
// Fetch storage keys before deleting rows
|
// Fetch storage keys before deleting rows
|
||||||
|
|||||||
Reference in New Issue
Block a user