@silenteer/natsu-port-server
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -35,2 +35,3 @@ "use strict"; | ||
.post(configuration_1.default.httpPath, (request, reply) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { | ||
var _a; | ||
try { | ||
@@ -44,3 +45,7 @@ const validationResult = validateHttpRequest(request); | ||
if (authenticationResult.code !== 'OK') { | ||
reply.send(authenticationResult.authResponse); | ||
reply.send({ | ||
code: authenticationResult.code, | ||
body: (_a = authenticationResult.authResponse) === null || _a === void 0 ? void 0 : _a.body, | ||
}); | ||
return; | ||
} | ||
@@ -47,0 +52,0 @@ const response = yield sendNatsRequest({ |
{ | ||
"name": "@silenteer/natsu-port-server", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36083
596