fix admin setting issue (#168)

This commit is contained in:
Hoan Luu Huu
2023-05-12 07:27:19 +07:00
committed by GitHub
parent b06032b5f0
commit 34895daf4f
+1 -1
View File
@@ -8,7 +8,7 @@ router.post('/', async(req, res) => {
router.get('/', async(req, res) => {
const [sysInfo] = await SystemInformation.retrieveAll();
res.status(200).json(sysInfo);
res.status(200).json(sysInfo || {});
});
module.exports = router;