Skip to content

Commit

Permalink
Allow anyone to use the new proposed API (#14214)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Aug 29, 2023
1 parent a797e4d commit 36c90f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/standalone/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,6 @@ export function buildApi(
(async () => {
sendApiUsageTelemetry(extensions, 'createJupyterServerCollection');
extensionId = (await extensions.determineExtensionFromCallStack()).extensionId;
if (
![JVSC_EXTENSION_ID.split('.')[0], 'SynapseVSCode', 'GitHub']
.map((s) => s.toLowerCase())
.includes(extensionId.split('.')[0].toLowerCase())
) {
throw new Error(`Access to Proposed API not allowed, as it is subject to change.`);
}
const registration =
serviceContainer.get<IJupyterServerProviderRegistry>(IJupyterServerProviderRegistry);
proxy = registration.createJupyterServerCollection(extensionId, id, label);
Expand Down

0 comments on commit 36c90f7

Please sign in to comment.