Skip to content

Commit

Permalink
fix: lowercase destination type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovchik committed Nov 4, 2024
1 parent 7f27e4f commit 72c735e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/Sinch/Voice/Common/Destination.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,14 @@ public override string ToString()
[JsonConverter(typeof(EnumRecordJsonConverter<DestinationType>))]
public record DestinationType(string Value) : EnumRecord(Value)
{

public static readonly DestinationType Number = new("Number");
public static readonly DestinationType Username = new("Username");
/// <summary>
/// Destination ptsn
/// </summary>
public static readonly DestinationType Number = new("number");
/// <summary>
/// Destination mxp
/// </summary>
public static readonly DestinationType Username = new("username");
public static readonly DestinationType Sip = new("sip");
public static readonly DestinationType Did = new("did");
}
Expand Down

0 comments on commit 72c735e

Please sign in to comment.