summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 13:30:52 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-08-28 13:30:52 +0900
commit8b347e23e3cf20b8377285535ec6b271291f85da (patch)
treea617485ba6e9b98c1acc19b3058be02c8fcf7c0d
parentrefactor (diff)
downloadmisskey-8b347e23e3cf20b8377285535ec6b271291f85da.tar.gz
misskey-8b347e23e3cf20b8377285535ec6b271291f85da.tar.bz2
misskey-8b347e23e3cf20b8377285535ec6b271291f85da.zip
refactor
Diffstat (limited to '')
-rw-r--r--packages/frontend/src/pages/api-console.vue5
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] =