@stackfactor/client-api 1.1.102 → 1.1.103
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.
- package/lib/security.js +2 -2
- package/package.json +1 -1
package/lib/security.js
CHANGED
|
@@ -8,7 +8,7 @@ import { client } from "./axiosClient.js";
|
|
|
8
8
|
const getAuthConnections = (authToken) => {
|
|
9
9
|
return new Promise(function (resolve, reject) {
|
|
10
10
|
const getConfigInformationRequest = client.get(
|
|
11
|
-
`api/v1/security/
|
|
11
|
+
`api/v1/security/authconnections`,
|
|
12
12
|
{ headers: { authorization: authToken } }
|
|
13
13
|
);
|
|
14
14
|
getConfigInformationRequest
|
|
@@ -29,7 +29,7 @@ const getAuthConnections = (authToken) => {
|
|
|
29
29
|
const setAuthConnections = (data, authToken) => {
|
|
30
30
|
return new Promise(function (resolve, reject) {
|
|
31
31
|
const setConfigInformationRequest = client.post(
|
|
32
|
-
`api/v1/security/
|
|
32
|
+
`api/v1/security/authconnections`,
|
|
33
33
|
{ data: data },
|
|
34
34
|
{ headers: { authorization: authToken } }
|
|
35
35
|
);
|