Skip to content

Commit

Permalink
feat: update sync_user.py to include sync user id in aget_files call (#…
Browse files Browse the repository at this point in the history
…3276)

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
StanGirard authored Sep 30, 2024
1 parent 0c90254 commit 11f5448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/quivr_api/modules/sync/repository/sync_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ async def get_files_folder_user_sync(
return {
"files": await sync.aget_files(
sync_user["credentials"],
sync_active_id,
folder_id if folder_id else "",
recursive,
sync_user["id"],
)
}
elif provider == "github":
Expand Down

0 comments on commit 11f5448

Please sign in to comment.