⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fix small mistakes
Thomas Schusterbc3ec3cc54c4
diff --git a/pages/api/v1/auth/[...nextauth].ts b/pages/api/v1/auth/[...nextauth].tsindex adbd4579..e6af507b 100644--- a/pages/api/v1/auth/[...nextauth].ts+++ b/pages/api/v1/auth/[...nextauth].ts@@ -373,6 +373,7 @@ if (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {const { "not-before-policy": _, refresh_expires_in, ...data } = account;return _linkAccount ? _linkAccount(data) : undefined;};+}// Azure ADif (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {diff --git a/pages/api/v1/logins/index.ts b/pages/api/v1/logins/index.tsindex 6d2c9980..7e290af2 100644--- a/pages/api/v1/logins/index.ts+++ b/pages/api/v1/logins/index.ts@@ -59,13 +59,14 @@ export function getLogins() {if (process.env.NEXT_PUBLIC_AZURE_AD_B2C_ENABLED === "true") {buttonAuths.push({method: "azure-ad-b2c",- name: process.env.AUTHENTIK_CUSTOM_NAME ?? "Azure AD B2C",+ name: process.env.AZURE_AD_B2C_CUSTOM_NAME ?? "Azure AD B2C",});+ }// Azure ADif (process.env.NEXT_PUBLIC_AZURE_AD_ENABLED === "true") {buttonAuths.push({method: "azure-ad",- name: process.env.AUTHENTIK_CUSTOM_NAME ?? "Azure AD",+ name: process.env.AZURE_AD_CUSTOM_NAME ?? "Azure AD",});}// Battle.netdiff --git a/types/enviornment.d.ts b/types/enviornment.d.tsindex f24b1f32..a1af24fd 100644--- a/types/enviornment.d.ts+++ b/types/enviornment.d.ts@@ -95,6 +95,7 @@ declare global {// Azure AD B2CNEXT_PUBLIC_AZURE_AD_B2C_ENABLED?: string;+ AZURE_AD_B2C_CUSTOM_NAME?: string;AZURE_AD_B2C_TENANT_NAME?: string;AZURE_AD_B2C_CLIENT_ID?: string;AZURE_AD_B2C_CLIENT_SECRET?: string;@@ -102,6 +103,7 @@ declare global {// Azure ADNEXT_PUBLIC_AZURE_AD_ENABLED?: string;+ AZURE_AD_CUSTOM_NAME?: string;AZURE_AD_CLIENT_ID?: string;AZURE_AD_CLIENT_SECRET?: string;AZURE_AD_TENANT_ID?: string;