Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Gijzen committed Jan 8, 2024
1 parent fb3274c commit fb16766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CM.Text/Common/Constant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internal static class Constant
internal const string BusinessMessagingGatewayJsonEndpoint = "https://gw.cmtelecom.com/v1.0/message";

internal const string OtpRequestEndpoint = "https://api.cm.com/otp/v2/otp";
internal const string OtpVerifyEndpointPrefix = "https://api.cm.com/otp/v2/otp/{0}/verify";
internal const string OtpVerifyEndpointFormatter = "https://api.cm.com/otp/v2/otp/{0}/verify";

internal static readonly string BusinessMessagingGatewayMediaTypeJson = "application/json";
internal static readonly string BusinessMessagingBodyTypeAuto = "AUTO";
Expand Down
2 changes: 1 addition & 1 deletion CM.Text/TextClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public async Task<OtpResult> VerifyOtpAsync(
{
using (var request = new HttpRequestMessage(
HttpMethod.Post,
_endPointOverride ?? new Uri(string.Format(Constant.OtpVerifyEndpointPrefix, id))
_endPointOverride ?? new Uri(string.Format(Constant.OtpVerifyEndpointFormatter, id))
))
{
request.Content = new StringContent(
Expand Down

0 comments on commit fb16766

Please sign in to comment.