Commit 2693c1b 1 parent 74f89e7 commit 2693c1b Copy full SHA for 2693c1b
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ function* fetchUserProfile(action: PayloadAction<string>) {
58
58
api . participants . read ,
59
59
) ) as MakeResponse < FetchParticipantsResponse > ;
60
60
61
- if ( assignableParticipantsResponse . status == 200 ) {
61
+ if ( assignableParticipantsResponse . status === 200 ) {
62
62
// throw new Error(JSON.stringify(assignableParticipantsResponse));
63
63
userProfile . assignableParticipants = assignableParticipantsResponse . data . participants ;
64
-
64
+
65
65
const assignedParticipantsResponse = ( yield call ( api . userParticipants . read , {
66
66
id : action . payload ,
67
67
} ) ) as MakeResponse < FetchParticipantsResponse > ;
68
-
68
+
69
69
if ( assignedParticipantsResponse . status !== 200 ) {
70
70
throw new Error ( JSON . stringify ( assignedParticipantsResponse ) ) ;
71
71
}
You can’t perform that action at this time.
0 commit comments