From a26de4cdc8656bc0be5c01747e44d83336f26463 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 4 Mar 2024 15:58:37 -0800 Subject: [PATCH] noop --- CHANGELOG.md | 6 ++++-- routes/session.test.js | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af19d69..76c646c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,13 @@ ### 3.0.0-alpha.3 +- routes/permission: added GET, POST, DELETE - permission.get: default search with deleted=0 - session.put: added -- routes/permission: added GET, POST, DELETE +- session: store user/group info in cookie (saves DB trips) - mysql(insert, select, update, delete): return just the query -- +- lib/group.get: convert booleans +- lib/user.get: convert booleans [3.0.0-alpha.3]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.3 diff --git a/routes/session.test.js b/routes/session.test.js index 73cc661..5167290 100644 --- a/routes/session.test.js +++ b/routes/session.test.js @@ -1,6 +1,5 @@ import assert from 'node:assert/strict' import { describe, it, before, after } from 'node:test' -// import util from 'node:util' import { init } from './index.js' import userCase from './test/user.json' with { type: 'json' } @@ -88,7 +87,6 @@ describe('session routes', () => { Cookie: sessionCookie, }, }) - // console.log(util.inspect(res.result, { depth: null })) assert.equal(res.request.auth.isAuthenticated, true) assert.equal(res.statusCode, 200) })