Skip to content

Commit

Permalink
testing in prod crazy
Browse files Browse the repository at this point in the history
  • Loading branch information
LordFarquaadtheCreator committed Aug 5, 2024
1 parent 443ef23 commit 43ca05a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middlewares/authorize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const authorize = function () {
return async (req: any, res: any, next: any) => {
try {
const { username: name, password: key } = getBasicAuthCredentials(req);
console.log(name, key);
const query = {
text: "SELECT * FROM apikey WHERE name = $1 AND apikey = $2",
values: [name, key]
Expand Down

0 comments on commit 43ca05a

Please sign in to comment.