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 fetch from "node-fetch"
import { GitlabInfo } from '../../src/components/Git'
import { GitlabInfo } from '../../src/components/infos/Git'
const handler: Handler = async (event, context) => {
let gitlab = await fetch("https://gitlab.com/api/v4/events?action=pushed", {