mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Basic attachment done
Switch from ky to axios
This commit is contained in:
@ -20,7 +20,7 @@ const fireMutation = async ({
|
||||
res = await client({
|
||||
method: 'post',
|
||||
instance: 'local',
|
||||
endpoint: `accounts/${id}/${type}`
|
||||
url: `accounts/${id}/${type}`
|
||||
})
|
||||
|
||||
if (res.body[stateKey!] === true) {
|
||||
@ -35,8 +35,8 @@ const fireMutation = async ({
|
||||
res = await client({
|
||||
method: 'post',
|
||||
instance: 'local',
|
||||
endpoint: `reports`,
|
||||
query: {
|
||||
url: `reports`,
|
||||
params: {
|
||||
account_id: id!
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user