Skip to content

OUT-2790: implement soft delete for sync failed records caused by refresh token expiry#168

Merged
SandipBajracharya merged 2 commits intomasterfrom
OUT-2790
Dec 15, 2025
Merged

OUT-2790: implement soft delete for sync failed records caused by refresh token expiry#168
SandipBajracharya merged 2 commits intomasterfrom
OUT-2790

Conversation

@SandipBajracharya
Copy link
Copy Markdown
Collaborator

No description provided.

@linear
Copy link
Copy Markdown

linear bot commented Dec 15, 2025

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
quickbooks-sync Ready Ready Preview, Comment Dec 15, 2025 0:52am
quickbooks-sync (dev) Ready Ready Preview, Comment Dec 15, 2025 0:52am

Copy link
Copy Markdown
Contributor

@rrojan rrojan left a comment

Choose a reason for hiding this comment

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

LGTM 🏆

}

async syncFailedRecords() {
async syncFailedRecords(includeDeleted = false) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be better to make this an opts object since calling the function as syncFailedRecords(true) might be vague. It's okay for now but can be changed

Comment thread src/utils/auth.ts
accessToken: string
}

export const refreshTokenExpireMessage = 'Refresh token is expired'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be best to put this in a constants file

@SandipBajracharya SandipBajracharya merged commit cd5fb2e into master Dec 15, 2025
3 checks passed
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.

2 participants