Complete authentication and profile features
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from backend.app.services.link_service import list_public_links
|
||||
from backend.app.services.link_service import list_public_links, list_public_users
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get('/users')
|
||||
def public_users():
|
||||
return list_public_users()
|
||||
|
||||
|
||||
@router.get('/feed')
|
||||
@router.get('/feed/{username}')
|
||||
def public_feed(username: str | None = None):
|
||||
|
||||
Reference in New Issue
Block a user