Skip to content

Conversation

@egalvis27
Copy link

What is Changed / Added


Why

@egalvis27 egalvis27 requested a review from AlexisMora December 22, 2025 17:52
updateCredentials(token, newToken);

return right([token, newToken]);
return right([token ?? '', newToken]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

const isSafeStorageAvailable = safeStorage.isEncryptionAvailable();

const token = isSafeStorageAvailable ? ecnryptToken(bearerToken) : bearerToken;
const token = isSafeStorageAvailable && bearerToken ? ecnryptToken(bearerToken) : bearerToken;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whats the reason behind this change? if you make it optional then we can return an undefined value

egalvis27 and others added 16 commits December 24, 2025 15:51
…djust updateCredentials to allow optional bearerToken
…o correctly handle time calculations"

This reverts commit 24eb2c3.
@AlexisMora AlexisMora force-pushed the feat/allow-download-empty-files branch from 3016df0 to e380bdd Compare December 24, 2025 15:00
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
60.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@egalvis27 egalvis27 merged commit 577c244 into main Dec 24, 2025
7 of 8 checks passed
@egalvis27 egalvis27 deleted the feat/allow-download-empty-files branch December 24, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants