view submission api updated

This commit is contained in:
Senthamilselvi 2025-11-03 13:46:48 +05:30
parent 7744f9c31e
commit b305b8d167

View File

@ -8,7 +8,7 @@ export const getSubmissions = async () => {
/** 🔹 Fetch a single submission by ID */
export const getSubmissionById = async (id) => {
const response = await apiClient.get(`/submissions/${id}`);
const response = await apiClient.get(`/submissions/view/${id}`);
return response.data;
};