Skip to content

Commit

Permalink
revert cert quality to medium
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-nebel committed Jul 31, 2023
1 parent a0944d0 commit 20f9be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/certGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require("fs");
const path = require("node:path");
const { buildSvg } = require("svg-content");

async function createCert(data, quality = "small") {
async function createCert(data, quality = "medium") {
const svg = fs.readFileSync(`./templates/diplomas/poster.svg`).toString();
const processed = buildSvg(svg, data);
const fileId = crypto.createHash("sha256").update(data.certId).digest("hex");
Expand Down

0 comments on commit 20f9be4

Please sign in to comment.