diff --git a/mystbin/backend/utils/db.py b/mystbin/backend/utils/db.py index 231a2d6..67f4eef 100644 --- a/mystbin/backend/utils/db.py +++ b/mystbin/backend/utils/db.py @@ -371,7 +371,7 @@ async def put_paste( try: resp: list[asyncpg.Record] = await self._do_query( - query, paste_id, author, expires, password, origin_ip, token_id, public, conn=conn + query, paste_id, author, expires, password, origin_ip, token_id, public, source, conn=conn ) except asyncpg.ForeignKeyViolationError: # token id does not exist ??? raise ValueError("token id does not exist") # ????