missing slash

This commit is contained in:
gutmet 2022-11-20 22:51:44 +01:00
parent 7310a9e2f2
commit ddac71b8cd

View File

@ -57,7 +57,7 @@ type AccountSource struct {
func LookupAccount(username string) (*Account, error) { func LookupAccount(username string) (*Account, error) {
var account Account 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 { if err != nil {
return nil, err return nil, err
} }