aws-user-service
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -10,3 +10,3 @@ const AWS = require('aws-sdk'); | ||
getUserIdFromRequest(request) { | ||
return request.apiGateway.event.requestContext.identity.cognitoAuthenticationProvider.split(':').last(); | ||
return request.apiGateway.event.requestContext.identity.cognitoAuthenticationProvider.split(':').pop(); | ||
} | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "aws-user-service", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Contain methods to work with asw user", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1516