Plans: wznawianie planu tylko dla wlasciciela (usuniete akcje trenera)
This commit is contained in:
@@ -846,10 +846,6 @@ export function completeTraineePlan(userId: string, planId: string) {
|
||||
return api(`/trainer/trainees/${userId}/plans/${planId}/complete`, { method: 'POST' });
|
||||
}
|
||||
|
||||
export function reopenTraineePlan(userId: string, planId: string) {
|
||||
return api(`/trainer/trainees/${userId}/plans/${planId}/reopen`, { method: 'POST' });
|
||||
}
|
||||
|
||||
// ---------- aktualności (feed) ----------
|
||||
export function useFeed(limit = 20) {
|
||||
return useInfiniteQuery({
|
||||
|
||||
Reference in New Issue
Block a user