Commit 78dfe01
Eric Bower
·
2026-01-19 15:05:32 -0500 EST
parent c28c44d
fix(pgs): inverted logic check for pico+
1 files changed,
+1,
-1
+1,
-1
| ... | ... | @@ -518,7 +518,7 @@ func (web *WebRouter) ServeAsset(fname string, opts *storage.ImgProcessOpts, has | |
| 518 | 518 | hasPicoPlus := false | |
| 519 | 519 | ff, _ := web.Cfg.DB.FindFeature(user.ID, "plus") | |
| 520 | 520 | if ff != nil { | |
| 521 | - | if ff.ExpiresAt.Before(time.Now()) { | |
| 521 | + | if ff.ExpiresAt.After(time.Now()) { | |
| 522 | 522 | hasPicoPlus = true | |
| 523 | 523 | } | |
| 524 | 524 | } |