fix: remove duplicate getService, fix project uuid check for services

Made-with: Cursor
This commit is contained in:
2026-04-23 17:09:00 -07:00
parent 040f0c6256
commit 5d4936346e
2 changed files with 4 additions and 7 deletions

View File

@@ -556,10 +556,6 @@ export async function stopService(uuid: string): Promise<void> {
await coolifyFetch(`/services/${uuid}/stop`, { method: 'POST' });
}
export async function getService(uuid: string): Promise<Record<string, unknown>> {
return coolifyFetch(`/services/${uuid}`);
}
export interface ServiceEnvVar { key: string; value: string; is_preview?: boolean; is_literal?: boolean; }
export async function listServiceEnvs(uuid: string): Promise<ServiceEnvVar[]> {