From 58ca132a4ea93d69ce240a45f0fa2856d334e0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicole=20Miko=C5=82ajczyk?= Date: Thu, 17 Apr 2025 16:13:12 +0200 Subject: [PATCH] pl-fe: fix auth on iceshrimp.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicole Mikołajczyk --- packages/pl-fe/src/utils/scopes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/pl-fe/src/utils/scopes.ts b/packages/pl-fe/src/utils/scopes.ts index eda6bc75d..b350f3a0f 100644 --- a/packages/pl-fe/src/utils/scopes.ts +++ b/packages/pl-fe/src/utils/scopes.ts @@ -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;