Skip to content

Commit

Permalink
Fix incorrect serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
drakon64 committed Dec 22, 2024
1 parent 4e5e0aa commit ef9ae08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Ktisis.Common/Clients/GoogleClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ public static async Task CreateTask(CreateCloudTask task)
new HttpRequestMessage
{
Method = HttpMethod.Post,
Content = JsonContent.Create(task, GoogleCloudSerializerContext.Default.Instance),
Content = JsonContent.Create(
task,
GoogleCloudSerializerContext.Default.CreateCloudTask
),
Headers =
{
{ "Authorization", $"{accessToken.TokenType} {accessToken.AccessToken}" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ rm actions-runner-linux-{runnerArchitecture}-2.321.0.tar.gz
],
},
},
GoogleCloudSerializerContext.Default.Instance
GoogleCloudSerializerContext.Default.InstanceTask
)
)
),
Expand Down

0 comments on commit ef9ae08

Please sign in to comment.