Skip to content

Commit 5dcdcec

Browse files
authored
fix json recommended_action naming (#146)
1 parent 2d82dc4 commit 5dcdcec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Models/Activity.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using Newtonsoft.Json;
12
using System;
23
using System.Collections.Generic;
34

@@ -46,6 +47,7 @@ public class AddActivitiesResponse : ResponseBase
4647
public class ModerationResponse
4748
{
4849
public string Status { get; set; }
50+
[JsonProperty("recommended_action")]
4951
public string RecommendedAction { get; set; }
5052
public APIError APIError { get; set; }
5153
}

0 commit comments

Comments
 (0)