Revert "test: check old megalodon version"
This reverts commit 89eea5df52.
This commit is contained in:
parent
08cd1f313c
commit
3fd2b55406
230 changed files with 21178 additions and 7596 deletions
|
|
@ -71,7 +71,7 @@ export class ApiAccountMastodon {
|
|||
|
||||
public async lookup() {
|
||||
try {
|
||||
const data = await this.client.search((this.request.query as any).acct, 'accounts');
|
||||
const data = await this.client.search((this.request.query as any).acct, { type: 'accounts' });
|
||||
return convertAccount(data.data.accounts[0]);
|
||||
} catch (e: any) {
|
||||
/* console.error(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue