Feature/ Sessions fully implemented#44
Merged
ben-AI-cybersec merged 4 commits intoRedback-Operations:mainfrom Sep 25, 2025
Merged
Feature/ Sessions fully implemented#44ben-AI-cybersec merged 4 commits intoRedback-Operations:mainfrom
ben-AI-cybersec merged 4 commits intoRedback-Operations:mainfrom
Conversation
… when trying to create a new bodyinsight if already exists for activity. Expanded sessions endpoint with endpoint to get all activity and bodyinsight data by ID.
…tivity data and not calculated on backend.
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
jd-deakin
approved these changes
Sep 16, 2025
jd-deakin
left a comment
There was a problem hiding this comment.
Change looks okay.
This will be fine in a dev environment.
Fixed user ID's would not be ready for production.
Error handling is good.
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Made body_insight table 1:1 relation with activity table. Add error message when trying to create body_insight data when already exists for activity.
Add fields for steps, floors and zone_mintues to activity table.
Also retains previous PR to change dashboard endpoint to get VO2 from database.
Created sleep_data table. Created sleep_data endpoint methods
Created sessions//details to return all information regarding the chosen id. activity data, body_insight data, sleep_data.