Skip to content

Commit

Permalink
Fix CreateWorkerAnswer
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 25, 2024
1 parent 28aeccd commit 6710625
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MyApp.ServiceModel/Posts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,11 @@ public class PostVote : IReturnVoid
}

[ValidateHasRole(Roles.Moderator)]
public class CreateWorkerAnswer : IReturn<IdResponse>
public class CreateWorkerAnswer : IPost, IReturn<IdResponse>
{
public int PostId { get; set; }
[ValidateNotEmpty]
public string Model { get; set; }
[ValidateNotEmpty]
public string Json { get; set; }
public int? PostJobId { get; set; }
}
Expand Down

0 comments on commit 6710625

Please sign in to comment.