updateSettings
Updating OneEntry application general settings.
Settings?.updateSettings( body? );
Minimal example
const body ={
"user": {
"dateFormat": "DD-MM-YYYY","optimizeImages": false}};const value = await Settings.updateSettings(body);
Schema (body)
body(required): any
The settings data to update. The body can include any settings fields that need to be updated
example:
{
"user": {
"dateFormat": "DD-MM-YYYY",
"optimizeImages": false
}
}
Example response
true