Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kompotkot committed Apr 17, 2024
1 parent dba8fcc commit ba363a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugout.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ type User struct {
func (c *BugoutAPIClient) FindUser(token, userId string) (User, int, error) {
var user User
var requestBodyBytes []byte
request, requestErr := http.NewRequest("GET", fmt.Sprintf("%s/user/find2?user_id=%s", c.BroodBaseURL, userId), bytes.NewBuffer(requestBodyBytes))
request, requestErr := http.NewRequest("GET", fmt.Sprintf("%s/user/find?user_id=%s", c.BroodBaseURL, userId), bytes.NewBuffer(requestBodyBytes))
if requestErr != nil {
return user, 500, requestErr
}
Expand Down

0 comments on commit ba363a0

Please sign in to comment.