import { API_URL } from './constants';

export const getCurrentUserURL = () => `${API_URL}currentUser`;
export const getCurrentTimeURL = () => `${API_URL}getTime`;

export const getContestsURL = () => `${API_URL}contests`;
export const getContestURL = (contestId) => `${getContestsURL()}/${contestId}`;
export const getProblemURL = (contestId, problemId) => `${getContestURL(contestId)}/problems/${problemId}`;
export const getProblemExamplesURL = (contestId, problemId) => `${getProblemURL(contestId, problemId)}/examples`;
export const getProblemSubmitsURL = (contestId, problemId) => `${getProblemURL(contestId, problemId)}/submits`;

@@ -151,12 +151,9 @@
 URL%7D
-getT
+t
 ime%60

Fix time synchonization endpoint URL