Application fully migrated to modular approach
This commit is contained in:
@@ -39,7 +39,7 @@ def get_stats(db: Session = Depends(get_db), current_user: User = Depends(get_cu
|
||||
raise HTTPException(status_code=500, detail="Internal server error")
|
||||
|
||||
|
||||
@router.get("/marketplace-stats", response_model=List[MarketplaceStatsResponse])
|
||||
@router.get("/stats/marketplace", response_model=List[MarketplaceStatsResponse])
|
||||
def get_marketplace_stats(db: Session = Depends(get_db), current_user: User = Depends(get_current_user)):
|
||||
"""Get statistics broken down by marketplace (Protected)"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user