Commit 343aa30

Eric Bower  ·  2026-08-07 15:05:32 -0400 EDT
parent ac1e5fd
fix(pgs): correctly set storage max in uploader
1 files changed,  +1, -0
+1, -0
......@@ -263,6 +263,7 @@ func findPlusFF(dbpool pgsdb.PgsDB, cfg *PgsConfig, userID string) (*db.FeatureF
263263 if !ff.IsValid() {
264264 return nil, fmt.Errorf("your pico+ has expired")
265265 }
266+ ff.Data.StorageMax = ff.FindStorageMax(cfg.MaxSize)
266267 ff.Data.FileMax = ff.FindFileMax(cfg.MaxAssetSize)
267268 ff.Data.SpecialFileMax = ff.FindSpecialFileMax(cfg.MaxSpecialFileSize)
268269 return ff, nil