Skip to content

Commit 9b91413

Browse files
fix: fetch submissions without course relations
1 parent 3477ac8 commit 9b91413

File tree

1 file changed

+1
-1
lines changed
  • src/store/feature/communities/challenges/submissions

1 file changed

+1
-1
lines changed

src/store/feature/communities/challenges/submissions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const createSubmissionTeam = createAsyncThunk(
177177
export const findWithRelations = createAsyncThunk("submissions/findWithRelations", async ({ id, locale }: { id: string; locale?: string }, { dispatch }) => {
178178
const { data } = await api(locale).server.get(`submissions/${id}`, {
179179
params: {
180-
relations: ["challenge", "evaluation", "course", "community"],
180+
relations: ["challenge", "evaluation", "community"],
181181
},
182182
});
183183
dispatch(setCurrent(data));

0 commit comments

Comments
 (0)