chore: fix

This commit is contained in:
2026-05-01 20:58:51 +02:00
parent 46b287c960
commit b34c239415
12 changed files with 87 additions and 24 deletions
+7 -2
View File
@@ -2010,7 +2010,10 @@ export const updateMyProfile = async (fields: {
// 🤖 TELEGRAM
// ============================================
export const getTelegramStatus = async (): Promise<{ linked: boolean; enabled: boolean }> => {
export const getTelegramStatus = async (): Promise<{
linked: boolean;
enabled: boolean;
}> => {
const token = getAuthToken();
if (!token) return { linked: false, enabled: false };
try {
@@ -2048,5 +2051,7 @@ export const unlinkTelegram = async (): Promise<void> => {
method: "DELETE",
headers: { Authorization: `Bearer ${token}` },
});
} catch { /* silencieux */ }
} catch {
/* silencieux */
}
};