style: auto format
This commit is contained in:
parent
d5ada18c30
commit
6dae9bd393
|
|
@ -21,7 +21,7 @@ module.exports = async (ctx) => {
|
|||
|
||||
const { posts } = response.data;
|
||||
if (posts === undefined) {
|
||||
throw new Error("没有获取到数据");
|
||||
throw new Error('没有获取到数据');
|
||||
}
|
||||
|
||||
const cname = await getCateName(ctx, cid);
|
||||
|
|
@ -38,5 +38,4 @@ module.exports = async (ctx) => {
|
|||
author: item.user.nickname,
|
||||
})),
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue