Skip to content

Commit

Permalink
Merge pull request #971 from CommitChange/remove-unused-variable-in-t…
Browse files Browse the repository at this point in the history
…icket-wizard

Minor cleanup in tickets/wizard.js
  • Loading branch information
wwahammy authored Dec 17, 2024
2 parents b0f671f + 4e039c1 commit 90e9499
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client/js/tickets/wizard.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// License: LGPL-3.0-or-later
require('../cards/create')
var request = require('../common/super-agent-promise')
var create_card = require('../cards/create')
var format_err = require('../common/format_response_error')
const request = require('../common/super-agent-promise')
const create_card = require('../cards/create')
const format_err = require('../common/format_response_error')
var path = '/nonprofits/' + app.nonprofit_id + '/events/' + appl.event_id + '/tickets'
const R = require('ramda')

Expand Down Expand Up @@ -126,7 +126,6 @@ appl.def('ticket_wiz', {
set_tickets: function (form_obj) {
hide_err()
var tickets = []
var total_amount = 0
var total_quantity = 0
for (var key in form_obj.tickets) {
var ticket = form_obj.tickets[key]
Expand Down

0 comments on commit 90e9499

Please sign in to comment.