Skip to content

Commit

Permalink
Merge branch 'release/1.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed May 21, 2019
2 parents f4698bf + 97dd2bb commit b7a4ef6
Show file tree
Hide file tree
Showing 15 changed files with 2,261 additions and 2,260 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#### 1.2.6 (2019-05-21)

##### Chores

- **deps:** force latest version & audit fix ([a36e774e](https://github.com/CodeTanzania/majifix-service-group/commit/a36e774e9d0eb651c886b346889b221fa4d81e3c))
- update dependencies ([585d9392](https://github.com/CodeTanzania/majifix-service-group/commit/585d939211d231900fc3a5ebc9b7f771c02ea23a))
- update dependencies ([7b634364](https://github.com/CodeTanzania/majifix-service-group/commit/7b63436478e7805a80b6eae9cebdc79e0c7c0208))

##### Bug Fixes

- update examples to use latest dependencies api ([b63c8f21](https://github.com/CodeTanzania/majifix-service-group/commit/b63c8f211b1e2332840a027199d7a571c00345d3))

##### Refactors

- migrate to use latest dependencies api ([2774e7d7](https://github.com/CodeTanzania/majifix-service-group/commit/2774e7d7d62938e0efa0349061c778e826a0eb7c))
- add arrow functions ([5d013078](https://github.com/CodeTanzania/majifix-service-group/commit/5d0130785a84329a154abffe4f9964d54ecde186))
- use of arrow functions ([5fc680ab](https://github.com/CodeTanzania/majifix-service-group/commit/5fc680ab9727d0db7c8257377f23d18bdd23bde7))

#### 1.2.5 (2019-04-11)

##### Chores
Expand Down
5 changes: 3 additions & 2 deletions examples/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const _ = require('lodash');
const async = require('async');
const mongoose = require('mongoose');
// mongoose.set('debug', true);
const { start } = require('@lykmapipo/express-common');
const { Jurisdiction } = require('@codetanzania/majifix-jurisdiction');
const {
ServiceGroup,
Expand Down Expand Up @@ -67,9 +68,9 @@ function boot() {
});

/* fire the app */
app.start(function (error, env) {
start(function (error, env) {
console.log(
`visit https://0.0.0.0:${env.PORT}/v${apiVersion}/servicegroups`
`visit https://0.0.0.0:${env.PORT}/${apiVersion}/servicegroups`
);
});

Expand Down
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
/* dependencies */
const path = require('path');
const _ = require('lodash');
const app = require('@lykmapipo/express-common');
const { app, mount } = require('@lykmapipo/express-common');


/* declarations */
const pkg = require(path.join(__dirname, 'package.json'));
const fields = [
`${__dirname}/package.json`,
'name',
'description',
'version',
Expand Down Expand Up @@ -82,7 +83,7 @@ Object.defineProperty(exports, 'app', {
//TODO bind oauth middlewares authenticate, token, authorize

/* bind servicegroup router */
app.mount(router);
mount(router);
return app;
}

Expand Down
Loading

0 comments on commit b7a4ef6

Please sign in to comment.