Context
Requirement 1: fix agencies PUT / ID the error
I get a 500 server error when I try to update agencies using PUT.
{{baseUrl}}/agencies/:resource_id → resource_id = 23258
{
"agency_info": {
"approval_status": "approved"
}
}
I have since just updated this to approved using the database 🙈 and my other submissions I am making as approved—so there's no last_approval_editor.
Using a GET with the same headers and ID works, but the body shown results in an error when PUT.
Requirement 2: fix error in the bottom right
Requirement 3: add agency approval page
Option 1: make new agencies temporarily submit as approved. Right now, it's the same user doing both.
Option 2: make an approval workflow page this one
Requirement 4: add agency edit page
This can resolve requirement 3, if done cleverly.
Context
Requirement 1: fix agencies PUT / ID the error
I get a 500 server error when I try to update agencies using PUT.
{{baseUrl}}/agencies/:resource_id→resource_id = 23258I have since just updated this to
approvedusing the database 🙈 and my other submissions I am making asapproved—so there's no last_approval_editor.Using a
GETwith the same headers and ID works, but the body shown results in an error when PUT.Requirement 2: fix error in the bottom right
Requirement 3: add agency approval page
Option 1: make new agencies temporarily submit as approved. Right now, it's the same user doing both.
Option 2: make an approval workflow page this one
Requirement 4: add agency edit page
This can resolve requirement 3, if done cleverly.