Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: drop caller-less client wrapper for canon image-ref removal (#13208)

Adam Eivy228437388207
diff --git a/client/src/services/apiUniverseBuilder.js b/client/src/services/apiUniverseBuilder.js
index 22b0e7d042..4f23035a18 100644
--- a/client/src/services/apiUniverseBuilder.js
+++ b/client/src/services/apiUniverseBuilder.js
@@ -464,14 +464,6 @@ export const removeUniverseCanonEntry = (universeId, kind, entryId, options = {}
...options,
}));
-// Remove one reference image from a canon entry's imageRefs[] (PATCH can't:
-// the server restores shorter lists as stale). Returns `{ universe, entry }`.
-export const removeUniverseCanonImageRef = (universeId, kind, entryId, filename, options = {}) =>
- trackUniverseWrite(universeId, request(`/universe-builder/${encodeURIComponent(universeId)}/canon/${encodeURIComponent(kind)}/${encodeURIComponent(entryId)}/image-refs/${encodeURIComponent(filename)}`, {
- method: 'DELETE',
- ...options,
- }));
-
// Bulk lock/unlock every canon entry of a single kind. Returns
// `{ universe, kind, locked, changed, total }`.
export const setUniverseCanonLockAll = (universeId, kind, locked, options = {}) =>