Skip to content

Commit

Permalink
chore: update sessionize api
Browse files Browse the repository at this point in the history
  • Loading branch information
yjose committed Feb 15, 2024
1 parent 548f949 commit f8a180e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/sessionize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type SessionByDay<T> = {

export const getSpeakers: () => Promise<Speaker[]> = async () => {
const res = await fetch(
"https://sessionize.com/api/v2/ag7jpuyy/view/Speakers"
"https://sessionize.com/api/v2/s1667etf/view/Speakers"
);
const data = await res.json();
// shuffle speakers to avoid the same speaker being on top
Expand All @@ -52,11 +52,11 @@ export const getSpeakers: () => Promise<Speaker[]> = async () => {

export const getSessions = async () => {
const sessionsRes = await fetch(
"https://sessionize.com/api/v2/ag7jpuyy/view/Sessions"
"https://sessionize.com/api/v2/s1667etf/view/Sessions"
// "https://sessionize.com/api/v2/bnh6bsfu/view/Sessions"
);
const speakersRes = await fetch(
"https://sessionize.com/api/v2/ag7jpuyy/view/Speakers"
"https://sessionize.com/api/v2/s1667etf/view/Speakers"
);
const sessions: SessionByDay<SessionizeSession>[] = await sessionsRes.json();
const speakers: Speaker[] = await speakersRes.json();
Expand Down

0 comments on commit f8a180e

Please sign in to comment.