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
1@@ -263,6 +263,7 @@ func findPlusFF(dbpool pgsdb.PgsDB, cfg *PgsConfig, userID string) (*db.FeatureF
2 if !ff.IsValid() {
3 return nil, fmt.Errorf("your pico+ has expired")
4 }
5+ ff.Data.StorageMax = ff.FindStorageMax(cfg.MaxSize)
6 ff.Data.FileMax = ff.FindFileMax(cfg.MaxAssetSize)
7 ff.Data.SpecialFileMax = ff.FindSpecialFileMax(cfg.MaxSpecialFileSize)
8 return ff, nil