diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 13:30:52 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 13:30:52 +0900 |
| commit | 8b347e23e3cf20b8377285535ec6b271291f85da (patch) | |
| tree | a617485ba6e9b98c1acc19b3058be02c8fcf7c0d | |
| parent | refactor (diff) | |
| download | misskey-8b347e23e3cf20b8377285535ec6b271291f85da.tar.gz misskey-8b347e23e3cf20b8377285535ec6b271291f85da.tar.bz2 misskey-8b347e23e3cf20b8377285535ec6b271291f85da.zip | |
refactor
Diffstat (limited to '')
| -rw-r--r-- | packages/frontend/src/pages/api-console.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/api-console.vue b/packages/frontend/src/pages/api-console.vue index 7571696b84..f436fc72fa 100644 --- a/packages/frontend/src/pages/api-console.vue +++ b/packages/frontend/src/pages/api-console.vue @@ -68,6 +68,11 @@ function send() { function onEndpointChange() { misskeyApi('endpoint', { endpoint: endpoint.value }, withCredential.value ? undefined : null).then(resp => { + if (resp == null) { + body.value = '{}'; + return; + } + const endpointBody = {}; for (const p of resp.params) { endpointBody[p.name] = |