Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
koenigskraut committed Aug 8, 2023
1 parent f37e63d commit cb3d5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (u *User) RecentStickers() ([]*StickerTag, error) {
err := DB.Model(&StickerTag{}).
Preload("Sticker").
Select("sticker_id, MAX(added) added").
Where(&StickerTag{User: u.UserID, AsSet: false}).
Where(&StickerTag{User: u.UserID}).
Order("added desc").
Group("sticker_id").
Find(&pre).Error
Expand Down

0 comments on commit cb3d5c8

Please sign in to comment.