Hi Team,
I am trying to sync back the changes using a fake api server (json-server). However I get an error in the success : true flag in the data.json file.
I have installed the json-server from npm and listening to a port, but getting an error to parse the json. Is there any way I can use this to sync changes?
Any help is appreciated
Support Forum
I am trying to persist the changes back to the json using npm json-server.
However, the "success" : true flag in the data.json gives me an error
Error: Type of "success" (string) is not supported. Use objects or arrays of objects.
It seems success : true flag in data.json is necessary to populate events on the ui
However, the "success" : true flag in the data.json gives me an error
Error: Type of "success" (string) is not supported. Use objects or arrays of objects.
It seems success : true flag in data.json is necessary to populate events on the ui
C:\Aniket\BryntumSchedulerLatest\bryntum-scheduler-trial (2)\scheduler-3.0.1-trial\examples\angular\angular-7\src\assets\data>json-server --watch data.json
\{^_^}/ hi!
Loading data.json
Done
Error: Type of "success" (string) is not supported. Use objects or arrays of objects.
Last edited by Dev@2609 on Mon Jan 27, 2020 7:00 am, edited 1 time in total.