Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 3, 2025
1 parent b0d8d68 commit c01fa07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Vault {
this._client.verifySignatureV4(
stringToSign, signatureFromRequest,
accessKey, region, scopeDate,
{ reqUid: log.getSerializedUids(), requestContext: serializedRCs },
{ reqUid: log.getSerializedUids(), requestContext: serializedRCs , get: true},
(err, authInfo) => {
if (err) {
log.trace('error from vault', { error: err });
Expand Down
3 changes: 2 additions & 1 deletion libV2/utils/disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const suffixToExp = {

async function getFolderSizeWrapper(...args) {
const { default: getFolderSize } = await import('get-folder-size');
return getFolderSize(...args);
const result = await getFolderSize(...args);
return result.size || 0;
}

/**
Expand Down

0 comments on commit c01fa07

Please sign in to comment.