Skip to content

Commit

Permalink
fixup post rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 28, 2025
1 parent 16c81be commit 59f54bb
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 76 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default tseslint.config(
'camelcase': 'off',
'no-param-reassign': 'off',
'new-cap': 'off',
'@typescript-eslint/no-unsafe-function-type':'off'
}
}
);
14 changes: 7 additions & 7 deletions lib/auth/backends/in_memory/Backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import { AuthInfoType, AuthV4Results } from '../../AuthInfo';
function _formatResponse(userInfo: AuthInfoType): { message: { body: AuthV4Results } } {
return {
message: {
body: {
userInfo,
accountQuota: {
account: userInfo.canonicalID,
quota: 0n,
body: {
userInfo,
accountQuota: {
account: userInfo.canonicalID,
quota: 0n,
},
},
},
},
};
};
};

/**
* Class that provides a memory backend for verifying signatures and getting
Expand Down
2 changes: 1 addition & 1 deletion lib/auth/v2/queryAuthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as constants from '../../constants';
import algoCheck from './algoCheck';
import constructStringToSign from './constructStringToSign';

export let PRE_SIGN_URL_EXPIRY = process.env.PRE_SIGN_URL_EXPIRY ?
export const PRE_SIGN_URL_EXPIRY = process.env.PRE_SIGN_URL_EXPIRY ?
Number.parseInt(process.env.PRE_SIGN_URL_EXPIRY, 10) :
constants.defaultPreSignedURLExpiry * 1000;

Expand Down
Loading

0 comments on commit 59f54bb

Please sign in to comment.