ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Redirects on `update` routes

Open sternj opened this issue 2 years ago • 3 comments

Having the POST endpoints return redirects leads to raised 400 errors when called from app

sternj avatar Sep 22 '24 02:09 sternj

Yes, I understood the problem.

Problem (I think is): These handlers are redirecting to /tasks since /tasks is GET endpoint it expects values as parameters. Because these params are empty it sends 400.

I'll work on same issue and will raise PR soon.

cc: @its-me-abhishek

SGI-CAPP-AT2 avatar Dec 19 '24 13:12 SGI-CAPP-AT2

hey, i was working already on this, have fixed it. the issue primarily lied in:

  • uuid did not seem to work in Both Edit/Modify Task Requests, so I have updated them on the backend, yet to update in the app
  • also the redirects have been removed as they were unnecessary

its-me-abhishek avatar Dec 19 '24 16:12 its-me-abhishek

Oh, thanks for informing

SGI-CAPP-AT2 avatar Dec 19 '24 16:12 SGI-CAPP-AT2