1
0

remove un-needed relationshipModel static data

This commit is contained in:
Hazelnoot
2025-01-31 03:14:29 -05:00
parent c38f04fe38
commit bbfba495df
2 changed files with 4 additions and 32 deletions
@@ -77,8 +77,8 @@ export class ApiSearchMastodon {
state: 'alive',
}),
})
.then((res) => res.json())
.then((data: Account[]) => data.map((entry => ({
.then(res => res.json() as Promise<Account[]>)
.then(data => data.map((entry => ({
source: 'global',
account: entry,
}))));