Comparing version 2.7.3 to 2.7.4
@@ -43,3 +43,3 @@ "use strict"; | ||
if (err || !data || !data.Users || !data.Users[0]) | ||
reject(); | ||
reject(err); | ||
else { | ||
@@ -64,3 +64,3 @@ // convert and return the attributes | ||
if (err || !data || !data.Users || !data.Users[0]) | ||
reject(); | ||
reject(err); | ||
else { | ||
@@ -67,0 +67,0 @@ // convert and return the attributes |
{ | ||
"name": "idea-aws", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "AWS wrappers to use in IDEA's back-ends", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -42,3 +42,3 @@ import AWS = require('aws-sdk'); | ||
(err: Error, data: any) => { | ||
if (err || !data || !data.Users || !data.Users[0]) reject(); | ||
if (err || !data || !data.Users || !data.Users[0]) reject(err); | ||
else { | ||
@@ -66,3 +66,3 @@ // convert and return the attributes | ||
(err: Error, data: any) => { | ||
if (err || !data || !data.Users || !data.Users[0]) reject(); | ||
if (err || !data || !data.Users || !data.Users[0]) reject(err); | ||
else { | ||
@@ -69,0 +69,0 @@ // convert and return the attributes |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4012487