Skip to content

Commit c4402ac

Browse files
committed
bruh
1 parent 576c842 commit c4402ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ APP.post(`${BASE}email`, (req, res) => {
123123
const UUID = `id${uuidv4()}`.replaceAll("-", "");
124124

125125

126-
const sql = `INSERT INTO Trackers (key, title, date, opens, sent, type) VALUES('${UUID}', '${req.body.title}', '${new Date().getTime()}', '0', '${req.body.sentTo}', 'email'); `;
126+
let sql = `INSERT INTO Trackers (key, title, date, opens, sent, type) VALUES('${UUID}', '${req.body.title}', '${new Date().getTime()}', '0', '${req.body.sentTo}', 'email'); `;
127127

128128
db.all(sql, [], (err, rows) => {
129129
if (err) console.log(err);

0 commit comments

Comments
 (0)