Skip to content

Commit

Permalink
qr code
Browse files Browse the repository at this point in the history
  • Loading branch information
kthbiblioteket committed Sep 18, 2023
1 parent 68b79f2 commit 9f03068
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eventControllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ async function generateQrCode(id, eventbgcolor) {
let event = await readEventId(id)
//MySQL kräver index [0]
event = event[0]
const file = "kthlogo.jpg"
const file = "kthlogo_marinbla_qr.svg"

const logo = await sharp(path.join(__dirname, "public/images/" + file))
.extend({
Expand Down
Loading

0 comments on commit 9f03068

Please sign in to comment.