repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
78dfe01
parent
c28c44d
author
Eric Bower
date
2026-01-19 15:05:32 -0500 EST
fix(pgs): inverted logic check for pico+
1 files changed,  +1, -1
M pkg/apps/pgs/web.go
+1, -1
1@@ -518,7 +518,7 @@ func (web *WebRouter) ServeAsset(fname string, opts *storage.ImgProcessOpts, has
2 	hasPicoPlus := false
3 	ff, _ := web.Cfg.DB.FindFeature(user.ID, "plus")
4 	if ff != nil {
5-		if ff.ExpiresAt.Before(time.Now()) {
6+		if ff.ExpiresAt.After(time.Now()) {
7 			hasPicoPlus = true
8 		}
9 	}