Remove print from compat params

This commit is contained in:
Mustafa Gezen 2023-02-22 00:06:52 +01:00
parent d1e15bbd55
commit ca132958b0
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -34,7 +34,6 @@ class CompatParams(BaseModel):
limit: int = Query(20, ge=1, le=100, description="Page size") limit: int = Query(20, ge=1, le=100, description="Page size")
def get_offset(self) -> int: def get_offset(self) -> int:
print(self.limit * self.page)
return self.limit * self.page return self.limit * self.page
def get_size(self) -> int: def get_size(self) -> int: