@@ -58,15 +58,15 @@ static Models.SiteList Convert(Dictionary<string, object> it) =>
58
58
{
59
59
{ "siteId" , siteId } ,
60
60
{ "name" , name } ,
61
- { "framework" , framework } ,
61
+ { "framework" , framework ? . Value } ,
62
62
{ "enabled" , enabled } ,
63
63
{ "logging" , logging } ,
64
64
{ "timeout" , timeout } ,
65
65
{ "installCommand" , installCommand } ,
66
66
{ "buildCommand" , buildCommand } ,
67
67
{ "outputDirectory" , outputDirectory } ,
68
- { "buildRuntime" , buildRuntime } ,
69
- { "adapter" , adapter } ,
68
+ { "buildRuntime" , buildRuntime ? . Value } ,
69
+ { "adapter" , adapter ? . Value } ,
70
70
{ "installationId" , installationId } ,
71
71
{ "fallbackFile" , fallbackFile } ,
72
72
{ "providerRepositoryId" , providerRepositoryId } ,
@@ -195,15 +195,15 @@ static Models.Site Convert(Dictionary<string, object> it) =>
195
195
var apiParameters = new Dictionary < string , object ? > ( )
196
196
{
197
197
{ "name" , name } ,
198
- { "framework" , framework } ,
198
+ { "framework" , framework ? . Value } ,
199
199
{ "enabled" , enabled } ,
200
200
{ "logging" , logging } ,
201
201
{ "timeout" , timeout } ,
202
202
{ "installCommand" , installCommand } ,
203
203
{ "buildCommand" , buildCommand } ,
204
204
{ "outputDirectory" , outputDirectory } ,
205
- { "buildRuntime" , buildRuntime } ,
206
- { "adapter" , adapter } ,
205
+ { "buildRuntime" , buildRuntime ? . Value } ,
206
+ { "adapter" , adapter ? . Value } ,
207
207
{ "fallbackFile" , fallbackFile } ,
208
208
{ "installationId" , installationId } ,
209
209
{ "providerRepositoryId" , providerRepositoryId } ,
@@ -457,7 +457,7 @@ static Models.Deployment Convert(Dictionary<string, object> it) =>
457
457
458
458
var apiParameters = new Dictionary < string , object ? > ( )
459
459
{
460
- { "type" , type } ,
460
+ { "type" , type ? . Value } ,
461
461
{ "reference" , reference } ,
462
462
{ "activate" , activate }
463
463
} ;
@@ -554,7 +554,7 @@ public Task<byte[]> GetDeploymentDownload(string siteId, string deploymentId, Ap
554
554
555
555
var apiParameters = new Dictionary < string , object ? > ( )
556
556
{
557
- { "type" , type }
557
+ { "type" , type ? . Value }
558
558
} ;
559
559
560
560
var apiHeaders = new Dictionary < string , string > ( )
0 commit comments