Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayg10 committed Mar 5, 2024
1 parent 74f89e7 commit 2693c1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App/UserProfile/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ function* fetchUserProfile(action: PayloadAction<string>) {
api.participants.read,
)) as MakeResponse<FetchParticipantsResponse>;

if (assignableParticipantsResponse.status == 200) {
if (assignableParticipantsResponse.status === 200) {
// throw new Error(JSON.stringify(assignableParticipantsResponse));
userProfile.assignableParticipants = assignableParticipantsResponse.data.participants;

const assignedParticipantsResponse = (yield call(api.userParticipants.read, {
id: action.payload,
})) as MakeResponse<FetchParticipantsResponse>;

if (assignedParticipantsResponse.status !== 200) {
throw new Error(JSON.stringify(assignedParticipantsResponse));
}
Expand Down

0 comments on commit 2693c1b

Please sign in to comment.