backupsite: remove bc- prefix from id
This commit is contained in:
@@ -542,7 +542,7 @@ async function add(data, auditSource) {
|
||||
privateKeyEncoding: { type: 'pkcs8', format: 'pem' }
|
||||
});
|
||||
|
||||
const id = `bc-${crypto.randomUUID()}`;
|
||||
const id = crypto.randomUUID();
|
||||
if (!safe.fs.mkdirSync(`${paths.BACKUP_INFO_DIR}/${id}`)) throw new BoxError(BoxError.FS_ERROR, `Failed to create info dir: ${safe.error.message}`);
|
||||
|
||||
debug('add: validating new storage configuration');
|
||||
|
||||
Reference in New Issue
Block a user