From a7f833769d89af514a55df957c5dff16f626f654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Schr=C3=B6tler?= Date: Sun, 4 Apr 2021 20:49:53 +0200 Subject: [PATCH] Cleaned getGitActivity route --- src/pages/api/getGitActivity.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pages/api/getGitActivity.ts b/src/pages/api/getGitActivity.ts index a3e7060..106c80d 100644 --- a/src/pages/api/getGitActivity.ts +++ b/src/pages/api/getGitActivity.ts @@ -1,8 +1,4 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction - import * as fs from "fs"; -import {number} from "prop-types"; -import cachedShouldLoadAsEsm from "jest-resolve/build/shouldLoadAsEsm"; const path = "./cache/getGitActivity"; const validTime = 1000 * 60 * 30; // 30 min in milliseconds