Skip to content

Commit

Permalink
Add missing source field.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Oct 27, 2023
1 parent c7f98fe commit 51dca2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mystbin/backend/utils/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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") # ????
Expand Down

0 comments on commit 51dca2a

Please sign in to comment.