Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
add delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
execreate committed Nov 3, 2022
1 parent ec01b2c commit dadbc04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/api/v1/blog_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ async def list_blog_posts(
@router.get("/{post_id}", response_model=blog_post_schemas.OutBlogPostSchema)
async def retrieve_a_blog_post(post_id: UUID):
return None


@router.delete("/{post_id}", response_model=blog_post_schemas.OutBlogPostSchema)
async def delete_a_blog_post(post_id: UUID):
return None

0 comments on commit dadbc04

Please sign in to comment.