Skip to content

Update terms.js#7189

Merged
kkartunov merged 1 commit intomasterfrom
kkartunov-patch-6
Feb 26, 2026
Merged

Update terms.js#7189
kkartunov merged 1 commit intomasterfrom
kkartunov-patch-6

Conversation

@kkartunov
Copy link
Collaborator

No description provided.

@kkartunov kkartunov requested a review from jmgasper as a code owner February 26, 2026 13:09
@kkartunov kkartunov merged commit 793fdfb into master Feb 26, 2026
5 of 6 checks passed
* @return {Promise}
*/
function getTermsDone(entity, tokens, mockAgreed) {
if (!tokens || !tokens.tokenV3) {

Choose a reason for hiding this comment

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

[⚠️ maintainability]
The check for !tokens || !tokens.tokenV3 is a good safeguard, but consider logging this as an error instead of a warning if tokenV3 is expected to be always present. This could help in identifying potential issues in the token generation or passing process.

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.

1 participant