mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
removed enableGalleryPublish, enableLinkInjection feature flags (#454)
* removed enableGalleryPublish, enableLinkInjection * removed ENABLE_GALLERY_PUBLISH
This commit is contained in:
committed by
GitHub
parent
3cc1945140
commit
cf01ffa957
@@ -362,8 +362,7 @@ export class JunoClient {
|
||||
tags: string[],
|
||||
author: string,
|
||||
thumbnailUrl: string,
|
||||
content: string,
|
||||
isLinkInjectionEnabled: boolean
|
||||
content: string
|
||||
): Promise<IJunoResponse<IGalleryItem>> {
|
||||
const response = await window.fetch(`${this.getNotebooksSubscriptionIdAccountUrl()}/gallery`, {
|
||||
method: "PUT",
|
||||
@@ -375,7 +374,7 @@ export class JunoClient {
|
||||
author,
|
||||
thumbnailUrl,
|
||||
content: JSON.parse(content),
|
||||
addLinkToNotebookViewer: isLinkInjectionEnabled,
|
||||
addLinkToNotebookViewer: true,
|
||||
} as IPublishNotebookRequest),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user