mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 01:45:33 +02:00
refactor
This commit is contained in:
@@ -40,7 +40,7 @@ async function install() {
|
||||
code.value = null;
|
||||
|
||||
router.push('/settings/plugin');
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
title: 'Install failed',
|
||||
|
||||
@@ -53,7 +53,7 @@ function getInstanceIcon(instance: Misskey.entities.FederationInstance): string
|
||||
misskeyApiGet('federation/instances', {
|
||||
sort: '+pubSub',
|
||||
limit: 20,
|
||||
blocked: 'false',
|
||||
blocked: false,
|
||||
}).then(_instances => {
|
||||
instances.value = _instances;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user