@tryarcanist/cli 0.1.274 → 0.1.276
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/dist/index.js +4 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8443,14 +8443,10 @@ async function egressSourceSetCommand(sourceRepoArg, options = {}, command) {
|
|
|
8443
8443
|
const { config } = resolveBusinessContext(command, options);
|
|
8444
8444
|
const businessId = await resolveBusinessId(config, options);
|
|
8445
8445
|
const source = parseRepoArg(sourceRepoArg);
|
|
8446
|
-
const payload = await apiFetch(
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
method: "PUT",
|
|
8451
|
-
body: JSON.stringify({ sourceRepoOwner: source.owner, sourceRepoName: source.repo })
|
|
8452
|
-
}
|
|
8453
|
-
);
|
|
8446
|
+
const payload = await apiFetch(config, `/api/businesses/${encodeURIComponent(businessId)}/egress-allowlist/source`, {
|
|
8447
|
+
method: "PUT",
|
|
8448
|
+
body: JSON.stringify({ sourceRepoOwner: source.owner, sourceRepoName: source.repo })
|
|
8449
|
+
});
|
|
8454
8450
|
emit(
|
|
8455
8451
|
command,
|
|
8456
8452
|
options,
|