mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 00:27:11 +00:00
11 lines
313 B
TypeScript
11 lines
313 B
TypeScript
import { apiFetch } from ".";
|
|
import { Reviewer } from "../types/review";
|
|
|
|
export const getReviewer = async (token: string) => {
|
|
return await apiFetch<Reviewer>(`/review/${token}`);
|
|
};
|
|
|
|
export const getReviewerSubmissions = async (token: string) => {
|
|
return await apiFetch(`/review/${token}/submissions`);
|
|
};
|