feat: Implement sync manager and file watcher for automated playlist synchronization
This commit is contained in:
@@ -181,4 +181,9 @@ export const apiService = {
|
||||
});
|
||||
return handleResponse(response);
|
||||
},
|
||||
|
||||
async getSyncStatus(): Promise<ApiResponse<{ is_syncing: boolean; last_sync_time: string | null; status: string; error: string | null }>> {
|
||||
const response = await fetch(`${API_BASE}/api/sync/status`);
|
||||
return handleResponse(response);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user