fix: bind Telegram pairing to expiring single-use account challenges

This commit is contained in:
2026-09-06 14:50:11 +03:00
parent aca1f5c3d1
commit 283bfe5990
9 changed files with 137 additions and 23 deletions
+1
View File
@@ -111,6 +111,7 @@ export const updateDocumentMeta = (id, { sonKullanma, kategori } = {}) =>
// --- Telegram bağlantısı ---
export const telegramDurum = () => iste('/api/me/telegram');
export const telegramKodOlustur = () => iste('/api/me/telegram', {method:'POST',body:JSON.stringify({islem:'kod'})});
export const telegramBagla = (kod) => iste('/api/me/telegram', { method: 'POST', body: JSON.stringify({ kod }) });
export const telegramTest = () => iste('/api/me/telegram', { method: 'POST', body: JSON.stringify({ islem: 'test' }) });
export const telegramSil = () => iste('/api/me/telegram', { method: 'DELETE' });