Skip to content

Commit

Permalink
Fix inserting puppets and portals
Browse files Browse the repository at this point in the history
Closes #404
  • Loading branch information
tulir committed Dec 31, 2023
1 parent 5842da7 commit 9fed988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion database/portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (p *Portal) sqlVariables() []any {
p.Name,
p.Topic,
p.AvatarHash,
p.AvatarURL,
&p.AvatarURL,
p.NameSet,
p.AvatarSet,
p.Revision,
Expand Down
2 changes: 1 addition & 1 deletion database/puppet.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (p *Puppet) sqlVariables() []any {
p.Name,
p.NameQuality,
p.AvatarHash,
p.AvatarURL,
&p.AvatarURL,
p.NameSet,
p.AvatarSet,
p.ContactInfoSet,
Expand Down

0 comments on commit 9fed988

Please sign in to comment.