fix: bind Telegram pairing to expiring single-use account challenges
This commit is contained in:
@@ -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' });
|
||||
|
||||
Reference in New Issue
Block a user