mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 17:25:21 +00:00
Cleanup
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
import app from "./webserver";
|
||||
import { createPass } from "..";
|
||||
import { PassWithBarcodeMethods } from "../src/pass";
|
||||
|
||||
app.all(async function manageRequest(request, response) {
|
||||
const passName = request.params.modelName + "_" + (new Date()).toISOString().split('T')[0].replace(/-/ig, "");
|
||||
|
||||
@@ -52,7 +52,7 @@ app.all(async function manageRequest(request, response) {
|
||||
pass.localize("zu", {});
|
||||
|
||||
// @ts-ignore - ignoring for logging purposes. Do not replicate
|
||||
console.log("Added languages", pass.localize().join(", "))
|
||||
console.log("Added languages", Object.keys(pass.l10nTranslations).join(", "))
|
||||
|
||||
const stream = pass.generate();
|
||||
response.set({
|
||||
|
||||
Reference in New Issue
Block a user