Skip to content

Commit

Permalink
fix: common.CustomTime invalid sql
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Nov 12, 2023
1 parent 4dd2f1f commit a8b7df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/floor/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ func ListSensitiveFloors(c *fiber.Ctx) (err error) {
}

result := querySet.
Where("updated_at < ?", query.Offset).
Where("updated_at < ?", query.Offset.Time).
Order("updated_at desc").
Limit(query.Size).
Find(&floors)
Expand Down

0 comments on commit a8b7df8

Please sign in to comment.