Skip to content

Commit

Permalink
Retrieve id of submission
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed Feb 18, 2024
1 parent 5f982da commit 86a9c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
return urlId.id;
})
.join(',');
let urls = "SELECT url, timestamp_date, ip_address, country, user_agent FROM urls WHERE id IN ($urlIds)";
let urls = "SELECT id, url, timestamp_date, ip_address, country, user_agent FROM urls WHERE id IN ($urlIds)";
urls = urls.replace('$urlIds', inClause);
let urlResults = await env.DB
.prepare(urls)
Expand Down

0 comments on commit 86a9c28

Please sign in to comment.