pretty
This commit is contained in:
parent
7767af73a7
commit
7a69a56cac
|
|
@ -14,7 +14,6 @@ class ChainRepository:
|
|||
async def upsert(self, chain: Chain) -> Chain:
|
||||
query = {"_id": chain.id}
|
||||
payload = chain.model_dump(by_alias=True)
|
||||
|
||||
await self.collection.replace_one(query, payload, upsert=True)
|
||||
return chain
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user