Skip to content

Commit

Permalink
Explicitly include event details
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarprause committed Jan 31, 2024
1 parent 3da78e0 commit 6b024fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ const discourseUrl = Deno.env.get("DISCOURSE_URL");
const NAMESPACE_URL_UUID = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";

const handle: Handler = async (request) => {
const eventsUrl = new URL("/discourse-post-event/events.json", discourseUrl);
const eventsUrl = new URL(
"/discourse-post-event/events?include_details=true",
discourseUrl
);

const requestUrl = new URL(request.url);
const token = requestUrl.searchParams.get("token");
Expand Down

0 comments on commit 6b024fa

Please sign in to comment.