Update backup data types in config schema

Swapped the maxFiles and folderName data types for webDAV and Google Drive backup uploads

masonh committed Feb 18, 2022 at 18:57 UTC d7f8e579880d7fc90deead0899e9c83045736eea
1 file changed +4 -4
meshcentral-config-schema.json
+4 -4
@@ -187,12 +187,12 @@
187 "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.",
188 "properties": {
189 "folderName": {
190 - "type": "integer",
190 + "type": "string",
191 "default": "MeshCentral-Backups",
192 "description": "The name of the folder to create in the Google Drive account."
193 },
194 "maxFiles": {
195 - "type": "string",
195 + "type": "integer",
196 "default": null,
197 "description": "The maximum number of files to keep in the Google Drive folder, older files will be removed if needed."
198 }
@@ -215,12 +215,12 @@
215 "description": "WebDAV account password."
216 },
217 "folderName": {
218 - "type": "integer",
218 + "type": "string",
219 "default": "MeshCentral-Backups",
220 "description": "The name of the folder to create in the WebDAV account."
221 },
222 "maxFiles": {
223 - "type": "string",
223 + "type": "integer",
224 "default": null,
225 "description": "The maximum number of files to keep in the WebDAV folder, older files will be removed if needed."
226 }