repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
17d355e
parent
3f43a91
author
Eric Bower
date
2024-03-17 16:32:39 +0000 UTC
chore(plus): increase imgs quota
1 files changed,  +1, -1
M db/postgres/storage.go
+1, -1
1@@ -1646,7 +1646,7 @@ func (me *PsqlDB) AddPicoPlusUser(username, paymentType, txId string) error {
2 	}
3 
4 	imgsQuery := `INSERT INTO feature_flags (user_id, name, data, expires_at)
5-	VALUES ($1, 'imgs', '{"storage_max":2000000000}'::jsonb, now() + '1 year'::interval);`
6+	VALUES ($1, 'imgs', '{"storage_max":5000000000}'::jsonb, now() + '1 year'::interval);`
7 	_, err = tx.Exec(imgsQuery, user.ID)
8 	if err != nil {
9 		return err