feat: полный patch External Channel архивирование creative в patch и
purchase, удалить у них доп ручки/usecase/dto
This commit is contained in:
@@ -178,6 +178,11 @@ class Postgres(DatabaseBase):
|
||||
await self.session.execute(stmt)
|
||||
await self.session.flush()
|
||||
|
||||
async def update_external_channel(self, channel: domain.ExternalChannel) -> domain.ExternalChannel:
|
||||
await self.session.flush()
|
||||
await self.session.refresh(channel)
|
||||
return channel
|
||||
|
||||
async def get_creative(self, user_id: uuid.UUID, creative_id: uuid.UUID) -> domain.Creative | None:
|
||||
stmt = (
|
||||
select(domain.Creative)
|
||||
|
||||
Reference in New Issue
Block a user