feed WIP
This commit is contained in:
@ -62,12 +62,6 @@ async def add_picture(
|
||||
detail="Not allowed",
|
||||
)
|
||||
|
||||
# if db.check_picture_existence(conn, groupname):
|
||||
# raise HTTPException(
|
||||
# status_code=status.HTTP_409_CONFLICT,
|
||||
# detail="Picture already exists",
|
||||
# )
|
||||
|
||||
return {
|
||||
"id": db.create_picture(conn, source, external_id, url, metadata)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user