Skip to content

Commit

Permalink
fix new subject sql
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 30, 2024
1 parent 59866dc commit dc92739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ async def patch_for_new_subject(
await pg.execute(
"""
insert into subject_patch (id, subject_id, from_user_id, reason, name, infobox, summary, nsfw,
subject_type, platform, patch_desc, action)
VALUES ($1, 0, $2, '', $3, $4, $5, $6, $7, $8, $9, $10)
subject_type, platform, patch_desc, action, original_name)
VALUES ($1, 0, $2, '', $3, $4, $5, $6, $7, $8, $9, $10, '')
""",
pk,
request.auth.user_id,
Expand Down

0 comments on commit dc92739

Please sign in to comment.