fix: remove duplicate getService, fix project uuid check for services
Made-with: Cursor
This commit is contained in:
@@ -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[]> {
|
||||
|
||||
Reference in New Issue
Block a user