fix(xo-server/backup): pass correct path to isValidXva
The path was incorrect which means there was a warning in xo-server logs and the check was not properly working.
This commit is contained in:
parent
e471706422
commit
c4a1579197
@ -1449,7 +1449,7 @@ export default class BackupNg {
|
||||
)
|
||||
|
||||
if (handler._getFilePath !== undefined) {
|
||||
await isValidXva(handler._getFilePath(dataFilename))
|
||||
await isValidXva('/' + handler._getFilePath(dataFilename))
|
||||
}
|
||||
|
||||
await handler.outputFile(metadataFilename, jsonMetadata)
|
||||
|
Loading…
Reference in New Issue
Block a user