[Task-7] As a user, I can get the reset password instruction via email#41
[Task-7] As a user, I can get the reset password instruction via email#41gutakk wants to merge 29 commits intofeature/task-27-authenticated-routefrom
Conversation
5f51ab3 to
a947482
Compare
72298ad to
874c61e
Compare
a947482 to
7da4f05
Compare
2ec4d6f to
cff4f67
Compare
7da4f05 to
101ecff
Compare
cff4f67 to
857a086
Compare
101ecff to
6864828
Compare
857a086 to
ee3f7f2
Compare
6864828 to
30e8ea0
Compare
ab914cf to
baa1f01
Compare
rafayet-monon
left a comment
There was a problem hiding this comment.
Please add appropriate PR descriptions.
Updated the PR description. I'm sure that I already updated the description before make it ready for review 🤔 |
30e8ea0 to
e01c622
Compare
baa1f01 to
96e7047
Compare
Don't know what happened but It was not shown to me 🤣 |
| static forgotPassword = (email: string): Promise<AxiosResponse> => { | ||
| /* eslint-disable camelcase */ | ||
| const requestOptions = { | ||
| headers: { |
There was a problem hiding this comment.
Seems like every request is going to have this portion
headers: {
'Content-Type': 'application/json'
}
Can we somehow add it requestManager.ts so that it isn't repeated?
There was a problem hiding this comment.
I think we should not as the requestManager.ts is the generic function. We don't need this header when it comes to GET request or POST request without json body.
There was a problem hiding this comment.
If that's the case then how about making it DRY in some other way? As there are more API which will require json body. What do you think?
…ct testing library look for data-test-id
f8142ea to
662db49
Compare
Resolve #8
What happened 👀
Insight 📝
N/A
Proof Of Work 📹
Send the recovery instruction email

Email

Validation
