креативы
This commit is contained in:
@@ -79,6 +79,10 @@ def CreativeMultipleInviteLinks() -> HTTPException:
|
||||
return HTTPException(status.HTTP_400_BAD_REQUEST, 'Creative text must contain only one invite link')
|
||||
|
||||
|
||||
def CreativeMediaTooLarge(max_bytes: int) -> HTTPException:
|
||||
return HTTPException(status.HTTP_400_BAD_REQUEST, f'Creative media is too large (max {max_bytes} bytes)')
|
||||
|
||||
|
||||
def CreativeInUse(creative_id: uuid.UUID) -> HTTPException:
|
||||
return HTTPException(
|
||||
status.HTTP_400_BAD_REQUEST,
|
||||
|
||||
Reference in New Issue
Block a user