fix: ignore type error caused by masto.js types

pull/3429/head
Ayo 2025-11-21 22:19:44 +01:00
rodzic 127139b0ac
commit 7f5d375dc9
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -13,6 +13,8 @@ const options = { limit: 30, types: filter ? [filter] : [] }
// Default limit is 20 notifications, and servers are normally caped to 30
const paginator = useMastoClient().v1.notifications.list(options)
// @ts-expect-error Type error should be fixed with the following PR to masto.js: https://github.com/neet/masto.js/pull/1355
const stream = useStreaming(client => client.user.notification.subscribe())
lastAccessedNotificationRoute.value = route.path.replace(/\/notifications\/?/, '')