Skip to content

Rename expected parameters on backend to match front end. #56

@psdcode

Description

@psdcode

Currently there is a mismatch between frontend and backend for several parameters, so front-end changes these parameters before sending an api call. It would be more straight forward to simply change what the backend can accept:

  • Backend expects municipality param, but in the front-end we use and display city param in the address bar.
  • For the doctype param, when its value is organization in the front-end, the corresponding value in the backend is entity

Alternatively, the backend could accept both the current and suggested above params

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions