Skip to content

Commit

Permalink
Fix: sql request for update token metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Dec 17, 2021
1 parent 86633f0 commit 4846363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metadata/models/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (db *RelativeDatabase) SaveTokenMetadata(ctx context.Context, metadata []*T

// SetImageProcessed -
func (db *RelativeDatabase) SetImageProcessed(token TokenMetadata) error {
_, err := db.DB().Model(&token).Set("image_processed", true).WherePK().Update()
_, err := db.DB().Model(&token).Set("image_processed = true").WherePK().Update()
return err
}

Expand Down

0 comments on commit 4846363

Please sign in to comment.