imported routers to fastapi app routers
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ async def add_swipe(
|
||||
if value == 0 and group.allow_skips is False:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_403_FORBIDDEN,
|
||||
detail="Skips are disallowed",
|
||||
detail="Skips are disallowed in the group",
|
||||
)
|
||||
|
||||
result = db.create_swipe(conn, current_user.username, feed_id, picture_id, value)
|
||||
|
||||
Reference in New Issue
Block a user