Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovchik committed Dec 31, 2024
1 parent b04ba01 commit afc543c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Sinch/Conversation/TemplatesV1/TemplateChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ namespace Sinch.Conversation.TemplatesV1
[JsonConverter(typeof(EnumRecordJsonConverter<TemplateChannel>))]
public record TemplateChannel(string Value) : EnumRecord(Value)
{
public static readonly TemplateChannel Unspecfied = new("UNSPECIFIED");
public static readonly TemplateChannel Unspecified = new("UNSPECIFIED");
public static readonly TemplateChannel Conversation = new("CONVERSATION");
public static readonly TemplateChannel Messenger = new("MESSENGER");
public static readonly TemplateChannel WhatsApp = new("WHATSAPP");
public static readonly TemplateChannel Rcs = new("RCS");
public static readonly TemplateChannel Sms = new("SMS");
public static readonly TemplateChannel Viber = new("VIBER");
public static readonly TemplateChannel ViberBm = new("VIBERVM");
public static readonly TemplateChannel ViberBm = new("VIBERBM");
public static readonly TemplateChannel Telegram = new("TELEGRAM");
public static readonly TemplateChannel Instagram = new("INSTAGRAM");
public static readonly TemplateChannel KakaoTalk = new("KAKAOTALK");
Expand Down
6 changes: 3 additions & 3 deletions tests/Sinch.Tests/e2e/Conversation/TemplatesV1Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class TemplatesV1Tests : TestBase
Id = "01W4FFL35P4NC4K35TEMPLATE01",
Description = "Text template V1",
DefaultTranslation = "en-US",
Channel = TemplateChannel.Unspecfied,
Channel = TemplateChannel.Unspecified,
CreateTime = Helpers.ParseUtc("2024-06-06T14:42:42Z"),
UpdateTime = Helpers.ParseUtc("2024-06-06T14:42:42Z"),
Translations = new List<TemplateTranslation>()
Expand Down Expand Up @@ -62,7 +62,7 @@ public async Task List()
new Template()
{
Id = "01W4FFL35P4NC4K35TEMPLATE02",
Channel = TemplateChannel.Unspecfied,
Channel = TemplateChannel.Unspecified,
CreateTime = Helpers.ParseUtc("2024-06-06T15:50:00Z"),
UpdateTime = Helpers.ParseUtc("2024-06-06T15:52:52Z"),
DefaultTranslation = "en-US",
Expand Down Expand Up @@ -133,7 +133,7 @@ public async Task Update()
Id = "01W4FFL35P4NC4K35TEMPLATE01",
Description = "Updated text template V1",
DefaultTranslation = "fr-FR",
Channel = TemplateChannel.Unspecfied,
Channel = TemplateChannel.Unspecified,
CreateTime = Helpers.ParseUtc("2024-06-06T14:42:42Z"),
UpdateTime = Helpers.ParseUtc("2024-06-06T14:45:45Z"),
Translations = new List<TemplateTranslation>()
Expand Down

0 comments on commit afc543c

Please sign in to comment.