Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit 92089ea

Browse files
committed
add logging statement
1 parent e781e88 commit 92089ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ function ensureAdmin(req, res, next) {
186186
};
187187

188188
async function addURLToDB(name, url, email, groups) {
189+
console.log("adding", name, url, email, groups)
189190
return new Promise(function (resolve, reject) {
190191
db.serialize(function () {
191192
const stmt = db.prepare("INSERT INTO urlData (name, url, email, groups) VALUES (?, ?, ?, ?)");

0 commit comments

Comments
 (0)