Skip to content

Commit

Permalink
remove a bug of one query
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuthy committed Aug 16, 2019
1 parent e370e20 commit 8ffc82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/catering.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports.set = function(router, pool) {
var sectionEmail = req.params.section + "@ligercambodia.org";

var selectCatering = {
text: "SELECT budget FROM account WHsERE email = $1;",
text: "SELECT budget FROM account WHERE email = $1;",
values: [sectionEmail]
}
var bankBudget;
Expand Down Expand Up @@ -257,7 +257,7 @@ module.exports.set = function(router, pool) {

//get content
var contentToTransferer = "Hello, "+senderName+"<br><br>You have succesfully transffered "+amount+" P to "+recipientName+".<br><br>Reason: "+reason;
var contentToRecipient = "Hello, "+recipientName+"<br><br>You have recieved "+amount+" P from "+senderName+"<br><br>Reason: "+reason+"<br><br><form method=\"get\" action=\"http://ligerpedro.herokuapp.com/apartment_personal\"><button class=\"button button1\" style=\"\
var contentToRecipient = "Hello, "+recipientName+"<br><br>You have recieved "+amount+" P from "+senderName+"<br><br>Reason: "+reason+"<br><br><form method=\"get\" action=\"http://ligerpedro.herokuapp.com\"><button class=\"button button1\" style=\"\
background-color: #4CAF50;\
/* Green */\
border: none;\
Expand Down

0 comments on commit 8ffc82c

Please sign in to comment.