forked from nixcn/nixcn-cms
refactor(client): use updated interface
Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
@@ -4,7 +4,7 @@ import { axiosClient } from '@/lib/axios';
|
||||
export function useCheckin() {
|
||||
return useMutation({
|
||||
mutationFn: async () => {
|
||||
return axiosClient.post<object>('/checkin');
|
||||
return axiosClient.post<object>('/user/checkin');
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user