pl-fe: fix auth on iceshrimp.net

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-17 16:13:12 +02:00
parent ace20dd071
commit 58ca132a4e

View File

@ -1,4 +1,4 @@
import { getFeatures, PLEROMA, TOKI, type Instance } from 'pl-api';
import { getFeatures, ICESHRIMP_NET, PLEROMA, TOKI, type Instance } from 'pl-api';
import type { RootState } from 'pl-fe/store';
@ -24,6 +24,8 @@ const getInstanceScopes = (instance: Instance, admin: boolean = true) => {
if (admin) {
switch (v.software) {
case ICESHRIMP_NET:
break;
case PLEROMA:
scopes += ' admin';
break;