Closed RidgeA closed 5 years ago
sorry - should've been !isAdminEndpoint
.
published to npm: 2.0.37
@iBaryo thanks! 2.0.38 ?
yep!
Hi, I have the same problem with version 2.0.39 and I fixed it temporarily by setting !IsAdminEndpoint
// Add API key to request if not provided. if (!isAdminEndpoint && !userParams.apiKey && this.apiKey) { requestParams['apiKey'] = this.apiKey; }
is it possible to fix?
Regards
sorry, slight mix up as the fix was reverted - fixed in 2.0.40
Affected version - 2.0.37. Not reproduced at 2.0.35 version.
When I making a request, e.g.
accounts.login
I getting an error:Missing required parameter: ApiKey
Running with NODE_DEBUG=request showed:
There is no API key indeed.
I think it happens because of this commit: https://github.com/scotthovestadt/gigya/commit/45a6b818083fb47942ca2d305855de4daae20728
What if
isAdminEndpoint
=== false ?