plac-micro-common 1.3.57 → 1.3.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,7 +31,7 @@ let AuthClientService = AuthClientService_1 = class AuthClientService {
|
|
|
31
31
|
headers: this.getHeaders(),
|
|
32
32
|
timeout: this.options.timeout_ms ?? 5000,
|
|
33
33
|
}));
|
|
34
|
-
return response.data;
|
|
34
|
+
return response.data?.data;
|
|
35
35
|
}
|
|
36
36
|
catch (error) {
|
|
37
37
|
this.handleError(error, `Failed to resolve user by id: ${userId}`);
|
|
@@ -45,7 +45,7 @@ let AuthClientService = AuthClientService_1 = class AuthClientService {
|
|
|
45
45
|
headers: this.getHeaders(),
|
|
46
46
|
timeout: this.options.timeout_ms ?? 5000,
|
|
47
47
|
}));
|
|
48
|
-
return response.data;
|
|
48
|
+
return response.data?.data;
|
|
49
49
|
}
|
|
50
50
|
catch (error) {
|
|
51
51
|
this.handleError(error, `Failed to resolve users by ids: ${ids.join(", ")}`);
|