Cleaned getGitActivity route

This commit is contained in:
Niklas Schrötler 2021-04-04 20:49:53 +02:00
parent 8d7235bb82
commit a7f833769d

View file

@ -1,8 +1,4 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import * as fs from "fs"; import * as fs from "fs";
import {number} from "prop-types";
import cachedShouldLoadAsEsm from "jest-resolve/build/shouldLoadAsEsm";
const path = "./cache/getGitActivity"; const path = "./cache/getGitActivity";
const validTime = 1000 * 60 * 30; // 30 min in milliseconds const validTime = 1000 * 60 * 30; // 30 min in milliseconds