You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/stack/extension/index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import { createReadStream } from 'fs'
8
8
* Extensions let you create custom fields and custom widgets that lets you customize Contentstack's default UI and behavior. Read more about <a href='https://www.contentstack.com/docs/developers/about-experience-extensions/'>Extensions</a>.
9
9
*/
10
10
11
-
exportfunctionExtension(http,data){
11
+
exportfunctionExtension(http,data={}){
12
12
this.stackHeaders=data.stackHeaders
13
13
this.urlPath=`/extensions`
14
14
if(data.extension){
@@ -147,7 +147,7 @@ export function Extension (http, data) {
0 commit comments