Get ready to add more than infos

This commit is contained in:
Taevas 2023-05-29 14:47:53 +02:00
parent 8a469d4775
commit 74da396a8b
24 changed files with 46 additions and 39 deletions

View file

@ -1,6 +1,6 @@
import { Handler } from '@netlify/functions'
import { Octokit } from '@octokit/core'
import { GithubInfo } from '../../src/components/Git'
import { GithubInfo } from '../../src/components/infos/Git'
const handler: Handler = async (event, context) => {
let octokit = new Octokit({auth: process.env.API_GITHUB})