completely useless tap logic
This commit is contained in:
@ -13,6 +13,7 @@ class News(BaseModel):
|
||||
title: str
|
||||
content: str
|
||||
created: datetime
|
||||
taps: int
|
||||
|
||||
|
||||
class NewsInDb(News):
|
||||
@ -20,3 +21,7 @@ class NewsInDb(News):
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
|
||||
|
||||
class TapResponse(BaseModel):
|
||||
tap: str
|
||||
|
||||
Reference in New Issue
Block a user