Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4f14a24b7 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "app-ts",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"description": "",
|
||||
"main": "dist/server.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -221,10 +221,16 @@ export default async function attendanceRoutes(
|
||||
isAdmin,
|
||||
authUserId: authData.userId,
|
||||
month: query.month
|
||||
? Number(String(query.month).split("-")[1])
|
||||
? String(query.month).includes("-")
|
||||
? Number(String(query.month).split("-")[1])
|
||||
: Number(query.month)
|
||||
: undefined,
|
||||
year: query.month
|
||||
? Number(String(query.month).split("-")[0])
|
||||
? String(query.month).includes("-")
|
||||
? Number(String(query.month).split("-")[0])
|
||||
: query.year
|
||||
? Number(query.year)
|
||||
: undefined
|
||||
: query.year
|
||||
? Number(query.year)
|
||||
: undefined,
|
||||
|
||||
Reference in New Issue
Block a user