Skip to content

Commit f2a0a00

Browse files
committed
fix: make search not require auth
1 parent a727fbc commit f2a0a00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

twitterv1/discover.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ func InternalSearch(c *fiber.Ctx) error {
2525

2626
_, pds, _, oauthToken, err := GetAuthFromReq(c)
2727
if err != nil {
28-
return MissingAuth(c, err)
28+
blankstring := "" // I. Hate. This.
29+
oauthToken = &blankstring
2930
}
3031

3132
// Pagination

0 commit comments

Comments
 (0)