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: remove unused publishing helper variable

[._.]/ Adam Eivy60432f39c0f8
diff --git a/server/services/musicVideo/publish/payloads.js b/server/services/musicVideo/publish/payloads.js
index 0dcdce3e9b..58930e9697 100644
--- a/server/services/musicVideo/publish/payloads.js
+++ b/server/services/musicVideo/publish/payloads.js
@@ -69,10 +69,8 @@ function pickVerticalCut(project, options) {
/** The full video's public link: the recorded YouTube post, else the one the director gave the kit. */
const fullVideoUrl = (kit) => releaseLinkUrl(kit, 'youtube');
/** The Suno song a post links or plays: the director's pick, else the recorded Suno post, else the kit's song link. */
-export const publishSongUrl = (project, options) => {
- const kit = kitOf(project);
- return releaseLinkUrl(kitOf(project), 'suno', { songUrl: text(options?.songUrl) });
-};
+export const publishSongUrl = (project, options) =>
+ releaseLinkUrl(kitOf(project), 'suno', { songUrl: text(options?.songUrl) });
const songUrl = (kit, options) => publishSongUrl({ publishKit: kit }, options);
function requireTitle(platform, title) {