missing slash
This commit is contained in:
parent
7310a9e2f2
commit
ddac71b8cd
|
@ -57,7 +57,7 @@ type AccountSource struct {
|
|||
|
||||
func LookupAccount(username string) (*Account, error) {
|
||||
var account Account
|
||||
err := doAPI(http.MethodGet, fmt.Sprintf("api/v1/accounts/lookup?acct=%s", url.QueryEscape(username)), nil, &account, nil)
|
||||
err := doAPI(http.MethodGet, fmt.Sprintf("/api/v1/accounts/lookup?acct=%s", url.QueryEscape(username)), nil, &account, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user