Skip to content

Commit

Permalink
Merge branch 'hotfix/0.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Jun 17, 2020
2 parents 980b1d9 + 0f13d1e commit 1e56646
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/ZoomNet/Models/Registrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Registrant
/// The id.
/// </value>
[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public long Id { get; set; }
public string Id { get; set; }

/// <summary>
/// Gets or sets a valid email address.
Expand Down
2 changes: 1 addition & 1 deletion Source/ZoomNet/Resources/Meetings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ private Task UpdateRegistrantsStatusAsync(long meetingId, IEnumerable<(string Re
data.AddPropertyIfValue("registrants", registrantsInfo.Select(ri => new { id = ri.RegistrantId, email = ri.RegistrantEmail }).ToArray());

return _client
.PostAsync($"meetings/{meetingId}/registrants/status")
.PutAsync($"meetings/{meetingId}/registrants/status")
.WithArgument("occurence_id", occurrenceId)
.WithJsonBody(data)
.WithCancellationToken(cancellationToken)
Expand Down
2 changes: 1 addition & 1 deletion Source/ZoomNet/Resources/Webinars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ private Task UpdateRegistrantsStatusAsync(long webinarId, IEnumerable<(string Re
data.AddPropertyIfValue("registrants", registrantsInfo.Select(ri => new { id = ri.RegistrantId, email = ri.RegistrantEmail }).ToArray());

return _client
.PostAsync($"webinars/{webinarId}/registrants/status")
.PutAsync($"webinars/{webinarId}/registrants/status")
.WithArgument("occurence_id", occurrenceId)
.WithJsonBody(data)
.WithCancellationToken(cancellationToken)
Expand Down

0 comments on commit 1e56646

Please sign in to comment.