File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -493,6 +493,10 @@ export class Dashboards {
493
493
const config : RequestConfig = {
494
494
url : `/rest/api/2/dashboard/${ parameters . dashboardId } /items/${ parameters . itemId } /properties/${ parameters . propertyKey } ` ,
495
495
method : 'PUT' ,
496
+ headers : {
497
+ 'Content-Type' : 'application/json' ,
498
+ } ,
499
+ data : parameters . body ,
496
500
} ;
497
501
498
502
return this . client . sendRequest ( config , callback ) ;
Original file line number Diff line number Diff line change @@ -492,6 +492,10 @@ export class Dashboards {
492
492
const config : RequestConfig = {
493
493
url : `/rest/api/3/dashboard/${ parameters . dashboardId } /items/${ parameters . itemId } /properties/${ parameters . propertyKey } ` ,
494
494
method : 'PUT' ,
495
+ headers : {
496
+ 'Content-Type' : 'application/json' ,
497
+ } ,
498
+ data : parameters . body ,
495
499
} ;
496
500
497
501
return this . client . sendRequest ( config , callback ) ;
You can’t perform that action at this time.
0 commit comments