Skip to content

Bug in POST /me/notification endpoint #9

@MrSpotmarker

Description

@MrSpotmarker

Hi. I was just playing around with your application (Big kudos for your work and sharing it) and found an involuntary bug. The POST /me/notification endpoint never assigns the currenct user.

Here's a fix for line 157 in main.py

async def set_notifications_addr(notification: Notification, request: Request, current_user: User = Depends(get_current_active_user)):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions