mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 00:18:19 +01:00
fix(client): 🐛 Use correct HTTP path for account lookups
This commit is contained in:
parent
338c2cf6e7
commit
d69f8f5412
|
|
@ -1972,9 +1972,9 @@ export class Client extends BaseClient {
|
|||
): Promise<Output<Account>> {
|
||||
const params = new URLSearchParams();
|
||||
|
||||
params.set("q", acct);
|
||||
params.set("acct", acct);
|
||||
|
||||
return this.get<Account>(`/api/v1/accounts/search?${params}`, extra);
|
||||
return this.get<Account>(`/api/v1/accounts/lookup?${params}`, extra);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue