diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a8e94cb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".release"] + path = .release + url = git@github.com:msimerson/.release.git diff --git a/.release b/.release new file mode 160000 index 0000000..8959a99 --- /dev/null +++ b/.release @@ -0,0 +1 @@ +Subproject commit 8959a99cbbd4ac0e6871386a81d15b06307d6528 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..05864cc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# CHANGES + +## Unreleased + + + +[3.0.0-alpha.3]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.3 diff --git a/README.md b/README.md index 522e7ae..4556af4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ or `npm run develop (development)` -will start up the HTTP service on the port specified in `conf.d/http.yml`. The default URL for the service is [http://localhost:3000](http://localhost:3000) and the API methods have documentation at [http://localhost:3000/documentation](http://localhost:3000/documentation). +will start up the HTTP service on the port specified in `conf.d/http.yml`. The default URL for the service is [http://localhost:3000](http://localhost:3000) and the API methods have documentation at [http://localhost:3000/documentation#/](http://localhost:3000/documentation#/). ## Using the API service diff --git a/lib/permission.js b/lib/permission.js index 3235da6..7106cd1 100644 --- a/lib/permission.js +++ b/lib/permission.js @@ -36,6 +36,7 @@ class Permission { , p.deleted FROM nt_perm p WHERE` // Mysql.debug(1) + if (args.deleted === undefined) args.deleted = false const rows = await Mysql.select(query, mapToDbColumn(args, permDbMap)) if (rows.length === 0) return if (rows.length > 1) { diff --git a/package.json b/package.json index f6e4295..624105f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nictool/api", - "version": "3.0.0-alpha.2", + "version": "3.0.0-alpha.3", "description": "NicTool API", "main": "index.js", "type": "module",