backend for xcvr appview
2
fork

Configure Feed

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

only create error if err != nil

rachel-mp4 9feddf41 57a34a69

+4 -1
+4 -1
server/internal/db/oauth.go
··· 132 132 _, err := s.pool.Exec(ctx, ` 133 133 DELETE FROM oauthrequests r WHERE r.state = $1 134 134 `, state) 135 - return errors.New("error deleting oauth request:" + err.Error()) 135 + if err != nil { 136 + return errors.New("error deleting oauth request:" + err.Error()) 137 + } 138 + return nil 136 139 }