fix(frontend/Skeb): APIエラーを無視するように (MisskeyIO#979)

This commit is contained in:
あわわわとーにゅ 2025-04-22 23:05:06 +09:00 committed by GitHub
parent e0e4ea0c0c
commit 1d1d8853f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View file

@ -24,7 +24,11 @@ async function fetchSkebStatus() {
return;
}
userSkebStatus.value = await misskeyApiGet('users/get-skeb-status', { userId: props.userId });
try {
userSkebStatus.value = await misskeyApiGet('users/get-skeb-status', { userId: props.userId });
} catch {
userSkebStatus.value = null;
}
}
if (props.role.behavior === 'skeb') {