Skip to content

Commit

Permalink
fix ts-ignore in course-room-details store
Browse files Browse the repository at this point in the history
  • Loading branch information
odalys-dataport committed Feb 26, 2025
1 parent 507ce84 commit 6c4dcc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store/course-room-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ export default class CourseRoomDetailsModule extends VuexModule {
return;
}

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const errorCode = error.response?.data.code;
const apiError = mapAxiosErrorToResponseError(error);

const errorCode = apiError.code;
if (errorCode && handledApplicationErrors.includes(errorCode))
applicationErrorModule.setError(createApplicationError(errorCode));
}
Expand Down

0 comments on commit 6c4dcc5

Please sign in to comment.