u
This commit is contained in:
@@ -400,6 +400,7 @@ export function register(app, basePath = '') {
|
||||
.map((a) => ({
|
||||
...a,
|
||||
childCount: Number(a.childCount ?? 0),
|
||||
isFather: Boolean(a.isFather ?? a.is_father),
|
||||
}));
|
||||
res.status(200).json({ articles });
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user