aelve / guide

A workspace for research teams
https://guide.aelve.com
106 stars 10 forks source link

Can't set category settings when status is unchanged #315

Closed neongreen closed 5 years ago

neongreen commented 5 years ago

The frontend send the following payload:

{
    "title":"Data structures",
    "group":"Basics",
    "status":{"name":"Complete","value":"CategoryFinished"},
    "sections":[]
}

The backend expects just "status":"CategoryFinished", i.e. a string not an object.

neongreen commented 5 years ago

Funnily, Submit works if I edit the status before submitting, but doesn't work if I only change the title.