diff --git a/lib/routes/gov/immiau/news.ts b/lib/routes/gov/immiau/news.ts index f0975618c..efa70ea55 100644 --- a/lib/routes/gov/immiau/news.ts +++ b/lib/routes/gov/immiau/news.ts @@ -38,11 +38,11 @@ export const route: Route = { }; async function handler() { - const res = await got({ + const { data: res } = await got({ method: 'post', url, json: reqBodyByYear(new Date().getFullYear()), - }).json(); + }); const list = res.d.data.map((item) => ({ title: item.Title,