Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notification endpoint #311

Merged
merged 7 commits into from
Dec 5, 2024

Conversation

tfnribeiro
Copy link
Collaborator

@tfnribeiro tfnribeiro commented Dec 3, 2024

  • Added two new tables, corresponding logic and enpoints to support sending notifications to the users on the web.
  • Instead of get_server_time_utc() we should use datetime.now(), updated the instances where this wasn't the case.

tfnribeiro and others added 3 commits December 4, 2024 14:43
- Add failsafe if the user has no session
- Fixed typo in url
Copy link
Member

@mircealungu mircealungu left a comment

Choose a reason for hiding this comment

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

looks good. let's deploy.

type = db.Column(db.String)

# Should match the ids in the Database
# this class is dined to make it easier to
Copy link
Member

Choose a reason for hiding this comment

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

dined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should read defined!

@mircealungu mircealungu merged commit a9c5c50 into zeeguu:master Dec 5, 2024
1 check 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