1. Tailwind migretion. 2. Backend Type Safety. 3. Context Refactoring.
This commit is contained in:
@@ -80,6 +80,11 @@ export const deleteSession = async (userId: string, id: string): Promise<void> =
|
||||
await api.delete(`/sessions/${id}`);
|
||||
};
|
||||
|
||||
|
||||
export const addSetToActiveSession = async (userId: string, setData: any): Promise<any> => {
|
||||
return await api.post('/sessions/active/log-set', setData);
|
||||
};
|
||||
|
||||
export const deleteAllUserData = (userId: string) => {
|
||||
// Not implemented in frontend
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user