fix(route): fix gov/immiau/news (#15746)

This commit is contained in:
Wei Zhu
2024-05-28 22:05:09 +08:00
committed by GitHub
parent 07c72b1d26
commit 62aa54e6c9
+2 -2
View File
@@ -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,