mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Telegram Node): Add support for local bot api server (#8437)
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
This commit is contained in:
@@ -202,7 +202,7 @@ export async function apiRequest(
|
||||
const options: IRequestOptions = {
|
||||
headers: {},
|
||||
method,
|
||||
uri: `https://api.telegram.org/bot${credentials.accessToken}/${endpoint}`,
|
||||
uri: `${credentials.baseUrl}/bot${credentials.accessToken}/${endpoint}`,
|
||||
body,
|
||||
qs: query,
|
||||
json: true,
|
||||
|
||||
Reference in New Issue
Block a user