Skip to content

Commit

Permalink
♻️ Use updated function (fixed upptime/upptime#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jan 28, 2021
1 parent 560a86a commit 2491b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Octokit } from "@octokit/rest";
import slugify from "@sindresorhus/slugify";
import { CanvasRenderService } from "chartjs-node-canvas";
import { ChartJSNodeCanvas } from "chartjs-node-canvas";
import dayjs from "dayjs";
import { ensureDir, ensureFile, readFile, readJson, writeFile, writeJson } from "fs-extra";
import { load } from "js-yaml";
import { join } from "path";

const canvasRenderService = new CanvasRenderService(600, 400);
const canvasRenderService = new ChartJSNodeCanvas({ width: 600, height: 400 });

/** Get commits for a history file */
const getHistoryItems = async (
Expand Down

0 comments on commit 2491b83

Please sign in to comment.