cobalt/api/src/processing/service-alias.js
wukko 10e6b4ec71
api/service-alias: add an alias for twitch
because only clips are supported for now. vods may be supported after we implement HLS local processing
2025-06-07 11:51:44 +06:00

12 lines
228 B
JavaScript

const friendlyNames = {
bsky: "bluesky",
twitch: "twitch clips"
}
export const friendlyServiceName = (service) => {
if (service in friendlyNames) {
return friendlyNames[service];
}
return service;
}