Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Provide Goals #234

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Provide Goals #234

merged 3 commits into from
Jun 18, 2024

Conversation

henrybrink
Copy link
Collaborator

@henrybrink henrybrink commented Jun 14, 2024

What this PR does/why we need it?:
This PR contains the implementation for the "/goal" endpoint. It will query the goals from the fitness provider.
The goals will be cached for one hour, if the cache is older than one hour, we will return the newest value.

Which Issues does this PR fix?:
Fixes #127

Also contains a very simplified form of caching, closing #140

Notes for reviewers:

@henrybrink henrybrink added enhancement New feature or request backend Issues related to the backend labels Jun 14, 2024
@henrybrink henrybrink marked this pull request as ready for review June 15, 2024 22:02
@benedictweis
Copy link
Contributor

Will review tomorrow 👍

Copy link
Contributor

@benedictweis benedictweis left a comment

Choose a reason for hiding this comment

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

LGTM

@benedictweis benedictweis merged commit efa2672 into main Jun 18, 2024
5 checks passed
@benedictweis benedictweis deleted the dev/backend/127-goals branch June 18, 2024 07:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend Issues related to the backend enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementation von Zielen
2 participants