время в топе и тэги креативов

This commit is contained in:
Artem Tsyrulnikov
2026-01-28 12:34:00 +03:00
parent 0b25566ffb
commit 484e52c077
26 changed files with 326 additions and 36 deletions

View File

@@ -41,6 +41,8 @@ async def update_creative(
creative.buttons = [button.model_dump() for button in input.buttons]
if input.status:
creative.status = input.status
if input.tag:
creative.tag = input.tag
await self.database.update_creative(creative)
@@ -60,6 +62,7 @@ async def update_creative(
project_channel_title=creative.project.channel.title,
created_at=creative.created_at,
status=creative.status,
tag=creative.tag,
placements_count=placements_count,
)