fix(route): fix gov/immiau/news (#15746)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user