this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

typo on insert

+1 -1
+1 -1
database.go
··· 172 172 } 173 173 174 174 func addSubscriptionForParent(db *sql.DB, parentURI, userDid, subscriptionRkey string) error { 175 - sql := `INSERT INTO subscriptions (parentURI, userDID, subscriptionRkey) VALUES (?, ?, ?) ON CONFLICT(parentURI, userDID) DO NOTHING;` 175 + sql := `INSERT INTO subscriptions (parentURI, userDID, subscriptionRkey) VALUES (?, ?, ?, ?) ON CONFLICT(parentURI, userDID) DO NOTHING;` 176 176 _, err := db.Exec(sql, parentURI, userDid, subscriptionRkey) 177 177 if err != nil { 178 178 return fmt.Errorf("exec insert subscrptions: %w", err)