You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 23:17:10 +00:00
feat: added promocode getting by id, added likes add/delete, code refactoring
This commit is contained in:
@@ -88,3 +88,11 @@ class PromocodeViewOut(Schema):
|
||||
is_liked_by_user: bool
|
||||
like_count: int
|
||||
comment_count: int
|
||||
|
||||
|
||||
class PromocodeLikeOut(Schema):
|
||||
status: str = "ok"
|
||||
|
||||
|
||||
class PromocodeRemoveLikeOut(Schema):
|
||||
status: str = "ok"
|
||||
|
||||
Reference in New Issue
Block a user