Skip to content

api.js update() waffles on obj #56

@cubap

Description

@cubap

async function update(form, objIn) {

The obj variable is reassigned to JSON.parse() and then put back with JSON.stringify(). Unless there is some explicit validation reason for this, the reassignment can be avoided and then the obj does not need to be transformed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions