forked from AkkomaGang/admin-fe
Add baseName to some remote instance requests
This commit is contained in:
parent
2662210063
commit
e9060cd8ba
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ export async function listRemotePacks(host, token, instance) {
|
|||
url: `/api/pleroma/emoji/packs/list_from`,
|
||||
method: 'post',
|
||||
headers: authHeaders(token),
|
||||
data: { instance_address: instance }
|
||||
data: { instance_address: baseName(instance) }
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ export async function downloadFrom(host, instance_address, pack_name, as, token)
|
|||
url: '/api/pleroma/emoji/packs/download_from',
|
||||
method: 'post',
|
||||
headers: authHeaders(token),
|
||||
data: { instance_address, pack_name, as },
|
||||
data: { instance_address: baseName(instance_address), pack_name, as },
|
||||
timeout: 0
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue