1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Preparing for upgrading expo SDK

This commit is contained in:
Zhiyuan Zheng
2020-12-10 19:19:56 +01:00
parent 2272ea3841
commit fb123b6a26
16 changed files with 507 additions and 325 deletions

View File

@ -19,5 +19,5 @@ export const searchFetch = async (
url: 'search',
params: { type, q: term, limit }
})
return Promise.resolve(res.body)
return Promise.resolve(res.body[type])
}