Skip to content

Commit

Permalink
Merge pull request #187 from guoqing2023/main
Browse files Browse the repository at this point in the history
number lookup ga
  • Loading branch information
minwoolee-msft authored Feb 12, 2025
2 parents a0ce990 + 3ec6cda commit a9bd67b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LookupNumber/NumberLookupQuickstart.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Communication.PhoneNumbers" Version="1.3.0-beta.5" />
<PackageReference Include="Azure.Communication.PhoneNumbers" Version="1.3.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion LookupNumber/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static async Task Main(string[] args)
// This code retrieves your connection string from an environment variable.
string? connectionString = Environment.GetEnvironmentVariable("COMMUNICATION_SERVICES_CONNECTION_STRING");

PhoneNumbersClient client = new PhoneNumbersClient(connectionString, new PhoneNumbersClientOptions(PhoneNumbersClientOptions.ServiceVersion.V2024_03_01_Preview));
PhoneNumbersClient client = new PhoneNumbersClient(connectionString, new PhoneNumbersClientOptions(PhoneNumbersClientOptions.ServiceVersion.V2025_02_11));

// Use the free number lookup functionality to get number formatting information
OperatorInformationResult formattingResult = await client.SearchOperatorInformationAsync(new[] { phoneNumber });
Expand Down

0 comments on commit a9bd67b

Please sign in to comment.