initial state: muzick music player + recommendation engine
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import api from './api';
|
||||
import type { HealthResponse } from '../types';
|
||||
|
||||
export type { HealthResponse };
|
||||
|
||||
// GET /api/health
|
||||
export const fetchHealthStatus = async (): Promise<HealthResponse> => {
|
||||
const response = await api.get<HealthResponse>('/health');
|
||||
return response.data;
|
||||
};
|
||||
Reference in New Issue
Block a user