repos / pico

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

commit
92b70e7
parent
d9e8f7f
author
Eric Bower
date
2025-02-06 10:26:04 -0500 EST
chore(plus): enroll pico blog into digest for pico+ users
1 files changed,  +2, -1
M auth/api.go
+2, -1
 1@@ -541,7 +541,8 @@ func AddPlusFeedForUser(dbpool db.DB, userID, email string) error {
 2 	href := fmt.Sprintf("https://auth.pico.sh/rss/%s", token)
 3 	text := fmt.Sprintf(`=: email %s
 4 =: digest_interval 1day
 5-=> %s`, email, href)
 6+=> %s
 7+=> https://blog.pico.sh/rss`, email, href)
 8 	now := time.Now()
 9 	_, err = dbpool.InsertPost(&db.Post{
10 		UserID:    userID,