This commit is contained in:
parent
2f9b72a041
commit
359e2a1802
|
@ -9,7 +9,7 @@ const router = express.Router();
|
||||||
router.get('/push', HandlePush);
|
router.get('/push', HandlePush);
|
||||||
|
|
||||||
router.get('/version', async (req, res) => {
|
router.get('/version', async (req, res) => {
|
||||||
const {os_type} = res.query;
|
const {os_type} = req.query;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const connection = await createDatabaseConnection(dbConfig);
|
const connection = await createDatabaseConnection(dbConfig);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user