Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
saadshams committed Oct 1, 2024
1 parent 23b1853 commit 49cbfa6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ docker compose up
* [Docker](https://en.wikipedia.org/wiki/Docker_(software))
* [REST](https://en.wikipedia.org/wiki/Representational_state_transfer)

#### Legacy Classic JS based Demo
* [Demo: Employee Admin Microservice](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/tree/1.0.0)
#### Legacy Classic JS-based Demo
* [Demo: Employee Admin Microservice](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/tree/2.0.0)

## Status
Production - [Version 2.0](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/blob/master/VERSION)
Expand Down
6 changes: 6 additions & 0 deletions src/controller/ServiceCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ import {URL} from "url";

export class ServiceCommand extends SimpleCommand {

/**
* @param {Notification} notification
* @param {IncomingMessage} notification.body.request
* @param {ServerResponse} notification.body.response
* @returns {Promise<void>}
*/
async execute(notification) {
const {request, response, requestData} = notification.body;
const { method, url } = request;
Expand Down

0 comments on commit 49cbfa6

Please sign in to comment.