mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
@@ -30,9 +30,9 @@ export const onRequest: RequestHandlerCloudflarePages = async ({
|
||||
platform,
|
||||
}) => {
|
||||
console.log(`[🚩 platform]: `, platform)
|
||||
console.log(`[🚩 platform .env]: `, platform.env)
|
||||
console.log(`[🚩 platform .env]: `, (platform as any)?.GITHUB_TOKEN)
|
||||
const CHECK_GITHUB_TOKEN =
|
||||
(platform.env as any)?.['GITHUB_TOKEN'] ?? GITHUB_TOKEN
|
||||
(platform as any)?.['GITHUB_TOKEN'] ?? GITHUB_TOKEN
|
||||
return apiGetCollaborators(CHECK_GITHUB_TOKEN)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user