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
518518 hasPicoPlus := false
519519 ff, _ := web.Cfg.DB.FindFeature(user.ID, "plus")
520520 if ff != nil {
521- if ff.ExpiresAt.Before(time.Now()) {
521+ if ff.ExpiresAt.After(time.Now()) {
522522 hasPicoPlus = true
523523 }
524524 }