Skip to content

Commit

Permalink
Run prettier on ical.ts
Browse files Browse the repository at this point in the history
This removes a redundant space.
  • Loading branch information
JJ-8 committed Dec 16, 2024
1 parent 5e110fe commit b597556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/routes/ical.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function icalRoute(pool: Pool): Handler {
for (const ctf of ctfs) {
const ctftime_id = ctf.ctftime_url?.replace(/\/$/, "").split("/").at(-1);
cal.createEvent({
id: `${ctf.id}:${ctftime_id || "no-ctftime"}@${config.pad.domain || "ctfnote"}`,
id: `${ctf.id}:${ctftime_id || "no-ctftime"}@${config.pad.domain || "ctfnote"}`,
start: ctf.start_time,
end: ctf.end_time,
description: ctf.description,
Expand Down

0 comments on commit b597556

Please sign in to comment.