Update backup data types in config schema

Swapped the maxFiles and folderName data types for webDAV and Google Drive backup uploads
This commit is contained in:
masonh 2022-02-18 18:57:36 +00:00 committed by GitHub
parent 6a62a0628e
commit d7f8e57988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -187,12 +187,12 @@
"description": "Enabled automated upload of the server backups to a Google Drive account, once enabled you need to go in \"My Server\" tab as administrator to associate the account.", "description": "Enabled automated upload of the server backups to a Google Drive account, once enabled you need to go in \"My Server\" tab as administrator to associate the account.",
"properties": { "properties": {
"folderName": { "folderName": {
"type": "integer", "type": "string",
"default": "MeshCentral-Backups", "default": "MeshCentral-Backups",
"description": "The name of the folder to create in the Google Drive account." "description": "The name of the folder to create in the Google Drive account."
}, },
"maxFiles": { "maxFiles": {
"type": "string", "type": "integer",
"default": null, "default": null,
"description": "The maximum number of files to keep in the Google Drive folder, older files will be removed if needed." "description": "The maximum number of files to keep in the Google Drive folder, older files will be removed if needed."
} }
@ -215,12 +215,12 @@
"description": "WebDAV account password." "description": "WebDAV account password."
}, },
"folderName": { "folderName": {
"type": "integer", "type": "string",
"default": "MeshCentral-Backups", "default": "MeshCentral-Backups",
"description": "The name of the folder to create in the WebDAV account." "description": "The name of the folder to create in the WebDAV account."
}, },
"maxFiles": { "maxFiles": {
"type": "string", "type": "integer",
"default": null, "default": null,
"description": "The maximum number of files to keep in the WebDAV folder, older files will be removed if needed." "description": "The maximum number of files to keep in the WebDAV folder, older files will be removed if needed."
} }