@heyhru/app-dms-server 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -373,10 +373,10 @@ async function queryAuditLogs(filters) {
|
|
|
373
373
|
function writeAuditLog(entry) {
|
|
374
374
|
return insertAuditLog(entry);
|
|
375
375
|
}
|
|
376
|
-
function logList(req, reply) {
|
|
376
|
+
async function logList(req, reply) {
|
|
377
377
|
const { userId, dataSourceId, limit, offset } = req.body ?? {};
|
|
378
378
|
return reply.send(
|
|
379
|
-
queryAuditLogs({
|
|
379
|
+
await queryAuditLogs({
|
|
380
380
|
userId,
|
|
381
381
|
dataSourceId,
|
|
382
382
|
limit: limit ? Number(limit) : void 0,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.3",
|
|
7
7
|
"description": "DMS backend API server built on Fastify",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./dist/index.mjs",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"typescript": "^6.0.2",
|
|
37
37
|
"vitest": "^4.1.2"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "446a4f13523ab96b43eb8292c301a1694dff2ed8"
|
|
40
40
|
}
|