mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
docs: 🎨 updated readme
docs: 🎨 updated readme
This commit is contained in:
@@ -14,10 +14,10 @@ export default component$(
|
||||
<a href={props.user.html_url} target="_blank">
|
||||
<img
|
||||
class="w-16 h-16 rounded-full mx-auto object-cover"
|
||||
src={props.user.avatar_url}
|
||||
src={props.user.avatar_url + '&s=80'}
|
||||
alt={props.user.login}
|
||||
width="384"
|
||||
height="512"
|
||||
width="80"
|
||||
height="80"
|
||||
/>
|
||||
</a>
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ import { RequestHandlerNetlify } from '@builder.io/qwik-city/middleware/netlify-
|
||||
import { GITHUB_TOKEN } from './docs/constant'
|
||||
|
||||
export const onGet: RequestHandlerNetlify = async ({ platform }) => {
|
||||
console.log(`[🚩 platform]: `, platform)
|
||||
const CHECK_GITHUB_TOKEN =
|
||||
(platform as any)?.['GITHUB_TOKEN'] ?? GITHUB_TOKEN
|
||||
console.log(`[🚩 platform]: `, GITHUB_TOKEN)
|
||||
const data = await fetchGithub(CHECK_GITHUB_TOKEN)
|
||||
return data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user