@@ -24,6 +24,8 @@ export default async function getAnnouncements(dates: string[]): Promise<Announc
|
||||
|
||||
const url = new URL(`/v1/announcements/${dates.join(",")}`, API_BASE_URL).toString();
|
||||
|
||||
console.log("URL", url)
|
||||
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
const data = await response.json();
|
||||
|
||||
Reference in New Issue
Block a user