Skip to content

Commit

Permalink
fix cardOn UUID register
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstiekema committed Oct 26, 2021
1 parent d9c1850 commit 742d054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/handle_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports.CardOn = async (win, uuid) => {
win.loadFile(`src/views/base/base.html`, { query: { "uuid": JSON.stringify(uuid) } });
} else if (statusCode == 404) {
// Show register page if card not found
win.loadFile(`src/views/register/register.html`);
win.loadFile(`src/views/register/register.html`, { query: { "uuid": JSON.stringify(uuid) } });
} else if (statusCode == 401) {
// Blocked card
win.loadFile(`src/views/idle/idle.html`, { query: { error: "This card has been blocked. Please add a new card." } });
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "magnificent-sloth",
"version": "0.0.1",
"version": "0.0.15",
"description": "Point of Sale for Dead Mongoose",
"main": "main.js",
"maintainers": [
Expand Down

0 comments on commit 742d054

Please sign in to comment.