Expected behavior
- On saving Fields Layout, it should be saved and be persistent
Actual behavior
- On saving Fields Layout, it is not saved and is lost on refresh
Failure Logs
POST: /api/layout
Request
[{"path":"undefined/position","op":"replace","value":5},{"path":"undefined/position","op":"replace","value":4}]
Response:
{"errors":[{"status":422,"detail":"Invalid JSON Patch operations: {\"name\":\"OPERATION_PATH_INVALID\",\"index\":0,\"operation\":{\"path\":\"undefined/position\",\"op\":\"replace\",\"value\":5}}","meta":{}}]}
- Package Version: 6.1.1
- Express Version: 4.16.3
- Sequelize Version: 5.15.1
- Database Dialect: PG
- Database Version: PG12
- Project Name: Novelship-Admin