Describe the context of this enhancement
Currently, it's accepting the raw body as the payload when updating the project name. This results in unnecessary quotation marks (i.e. \"Foundation team\") stored in the database when updating the project name from the UI.
Describe the solution you'd like
Let's change the payload to only accept JSON (in the backend) as well as change how UI sends request accordingly so we have consistent, clean, and structured data both in the frontend and backend. This is also consistent on how we accept JSON body when creating project.
I can help to fix this if necessary, just let me know what your opinion on this 😄
Describe the context of this enhancement Currently, it's accepting the raw body as the payload when updating the project name. This results in unnecessary quotation marks (i.e.
\"Foundation team\"
) stored in the database when updating the project name from the UI.Describe the solution you'd like Let's change the payload to only accept JSON (in the backend) as well as change how UI sends request accordingly so we have consistent, clean, and structured data both in the frontend and backend. This is also consistent on how we accept JSON body when creating project.
I can help to fix this if necessary, just let me know what your opinion on this 😄