Open mohitparmar1 opened 1 week ago
@salahlalami if it is a valid issue I would like to work on this!
Hi @mohitparmar1 i have a cloned copy of the code on my local machine there i have an admin user made through setup file when i update the profile in there then i am not seeing any error but in the deployed code there is indeed an error.It's my first time working on an open source project.Could you guide why this is happening?
Hi @mohitparmar1 i have a cloned copy of the code on my local machine there i have an admin user made through setup file when i update the profile in there then i am not seeing any error but in the deployed code there is indeed an error.It's my first time working on an open source project.Could you guide why this is happening?
Yes, but the changes are not updating there, suppose someone changed their last name it is not showing new changes after the update
Here is my name before change and this is after @mohitparmar1
Hi @mohitparmar1 i have a cloned copy of the code on my local machine there i have an admin user made through setup file when i update the profile in there then i am not seeing any error but in the deployed code there is indeed an error.It's my first time working on an open source project.Could you guide why this is happening?
Yes, but the changes are not updating there, suppose someone changed their last name it is not showing new changes after the update
I saw your PR you added the method parameter to the cors middleware it is necessary for patch.I am new to open source as i could understand you changed just one line is that correct or you made some other changes?
Describe the bug The PATCH method triggers a CORS error when attempting to update the profile. The preflight response does not include PATCH in the Access-Control-Allow-Methods header.
To Reproduce Steps to reproduce the behavior:
Expected behavior The PATCH request should be allowed, and the update should proceed without a CORS error.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.