diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 19:47:58 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 19:47:58 +0900 |
| commit | f0833cffe9342cca0dc4ea7420acee56e686f643 (patch) | |
| tree | 843af8795f60e173992b965f8e2595a36c4fd877 /packages/frontend/src/pages/settings | |
| parent | Bump version to 2025.8.0-beta.5 (diff) | |
| download | misskey-f0833cffe9342cca0dc4ea7420acee56e686f643.tar.gz misskey-f0833cffe9342cca0dc4ea7420acee56e686f643.tar.bz2 misskey-f0833cffe9342cca0dc4ea7420acee56e686f643.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/pages/settings')
| -rw-r--r-- | packages/frontend/src/pages/settings/webhook.new.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/settings/webhook.new.vue b/packages/frontend/src/pages/settings/webhook.new.vue index 6c4dff5551..5f36e6bcfc 100644 --- a/packages/frontend/src/pages/settings/webhook.new.vue +++ b/packages/frontend/src/pages/settings/webhook.new.vue @@ -40,6 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only <script lang="ts" setup> import { ref, computed } from 'vue'; +import * as Misskey from 'misskey-js'; import MkInput from '@/components/MkInput.vue'; import FormSection from '@/components/form/section.vue'; import MkSwitch from '@/components/MkSwitch.vue'; @@ -61,7 +62,7 @@ const event_reaction = ref(true); const event_mention = ref(true); async function create(): Promise<void> { - const events: string[] = []; + const events = [] as Misskey.entities.UserWebhook['on']; if (event_follow.value) events.push('follow'); if (event_followed.value) events.push('followed'); if (event_note.value) events.push('note'); |