1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
Files
tooot/src/utils/fetches/listsFetch.ts
Zhiyuan Zheng 48cab6053c Use new alias
2020-12-13 14:04:25 +01:00

11 lines
204 B
TypeScript

import client from '@api/client'
export const listsFetch = async () => {
const res = await client({
method: 'get',
instance: 'local',
url: 'lists'
})
return Promise.resolve(res.body)
}