diff --git a/dev/createStatoscopeComment.js b/dev/createStatoscopeComment.js index f6a3112a3..c8bcaf3bc 100644 --- a/dev/createStatoscopeComment.js +++ b/dev/createStatoscopeComment.js @@ -5,7 +5,13 @@ import createPRComment from './createPRComment.js'; export default async ({ github, context }) => { const data = JSON.parse(readFileSync('result.json', 'utf8')); - data.prNumber = context.issue.number; + + const baseUrl = process.env.BASE_URL; + const parsedUrl = new URL(baseUrl); + parsedUrl.host = `deploy-preview-${context.issue.number}--${parsedUrl.host}`; + parsedUrl.pathname = '/statoscope-report.html'; + data.reportUrl = parsedUrl.toString(); + const body = template(data); await createPRComment({ github, context, body }); diff --git a/src/lib/gramjs/tl/apiTl.ts b/src/lib/gramjs/tl/apiTl.ts index 44cba8d5d..449dc4753 100644 --- a/src/lib/gramjs/tl/apiTl.ts +++ b/src/lib/gramjs/tl/apiTl.ts @@ -1797,8 +1797,8 @@ payments.getStarGiftWithdrawalUrl#d06e93a8 stargift:InputSavedStarGift password: payments.toggleStarGiftsPinnedToTop#1513e7b0 peer:InputPeer stargift:Vector = Bool; payments.getResaleStarGifts#7a5fa236 flags:# sort_by_price:flags.1?true sort_by_num:flags.2?true attributes_hash:flags.0?long gift_id:long attributes:flags.3?Vector offset:string limit:int = payments.ResaleStarGifts; payments.updateStarGiftPrice#edbe6ccb stargift:InputSavedStarGift resell_amount:StarsAmount = Updates; -payments.getUniqueStarGiftValueInfo#4365af6b slug:string = payments.UniqueStarGiftValueInfo; payments.getStarGiftCollections#981b91dd peer:InputPeer hash:long = payments.StarGiftCollections; +payments.getUniqueStarGiftValueInfo#4365af6b slug:string = payments.UniqueStarGiftValueInfo; phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; diff --git a/tauri/Cargo.lock b/tauri/Cargo.lock index 5a7ffe0f6..dd075fde4 100644 --- a/tauri/Cargo.lock +++ b/tauri/Cargo.lock @@ -5351,7 +5351,7 @@ dependencies = [ [[package]] name = "telegram_air" -version = "2.8.7" +version = "2.8.8" dependencies = [ "ab_glyph", "cocoa", diff --git a/tauri/Cargo.toml b/tauri/Cargo.toml index 64e3bdd6d..a36ba1467 100644 --- a/tauri/Cargo.toml +++ b/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "telegram_air" -version = "2.8.7" +version = "2.8.8" description = "Telegram Air" authors = ["Alexander Zinchuk"] license = "GPLv3"