-
-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Describe the bug
All issues are created and updated to "Private"
The IsPrivate Property is incorrectly serialized to "False" instead of "false"
Environment (please complete the following information):
- Library version: 4.50
- .NET runtime: [.NET 9.0]
- SerializationType : JSON
Additional context
Method called :
public T Create<T>(T entity, string ownerId = null, RequestOptions requestOptions = null)
where T : class, new()
{
var url = RedmineApiUrls.CreateEntityFragment<T>(ownerId);
var payload = Serializer.Serialize(entity);
var response = ApiClient.Create(url, payload, requestOptions);
return response.DeserializeTo<T>(Serializer);
}
payload = {
"issue": {
"subject": "Test privé",
"description": null,
"notes": null,
"is_private": "False",
"project_id": 60,
"estimated_hours": "",
"parent_issue_id": null,
"start_date": "",
"due_date": "",
"updated_on": ""
}
}