0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 19:12:41 +00:00

Revert "Update to use dedent in the same manner as other snippets"

This reverts commit b24c3527ca.
This commit is contained in:
Sean Robertson
2021-10-01 13:03:08 +13:00
parent b24c3527ca
commit f69f73fcda

View File

@@ -53,10 +53,10 @@ module.exports = [
name : 'QR Code', name : 'QR Code',
icon : 'fas fa-qrcode', icon : 'fas fa-qrcode',
gen : (brew)=>{ gen : (brew)=>{
return dedent`![] return `![]` +
(https://api.qrserver.com/v1/create-qr-code/?data= `(https://api.qrserver.com/v1/create-qr-code/?data=` +
https://homebrewery.naturalcrit.com${brew.shareId ? `/share/${brew.shareId}` : ''} `https://homebrewery.naturalcrit.com` + `${brew.shareId ? `/share/${brew.shareId}` : ''}` +
&size=100x100) {width:100px;mix-blend-mode:multiply}`; `&size=100x100) {width:100px;mix-blend-mode:multiply}`;
} }
}, },
{ {