From 6c9c3b3a1a5b15ae00088f309fdf93c9b13e8bf4 Mon Sep 17 00:00:00 2001 From: Acacia Warner Date: Tue, 14 Nov 2023 16:52:13 -0700 Subject: [PATCH] Update example license value for v2. --- .../swiftExamples/InternationalAutocompleteExample.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Sources/swiftExamples/InternationalAutocompleteExample.swift b/samples/Sources/swiftExamples/InternationalAutocompleteExample.swift index b8c44de..e69041d 100644 --- a/samples/Sources/swiftExamples/InternationalAutocompleteExample.swift +++ b/samples/Sources/swiftExamples/InternationalAutocompleteExample.swift @@ -15,7 +15,7 @@ class InternationalAutocompleteExample { // for client-side requests (browser/mobile), use this code: let id = getEnvironmentVar("SMARTY_AUTH_WEB") ?? "" let hostname = getEnvironmentVar("SMARTY_AUTH_REFERER") ?? "" - let client = ClientBuilder(id: id, hostname: hostname).withLicenses(licenses: ["international-autocomplete-cloud"]).buildInternationalAutocompleteApiClient() + let client = ClientBuilder(id: id, hostname: hostname).withLicenses(licenses: ["international-autocomplete-v2-cloud"]).buildInternationalAutocompleteApiClient() // Documentation for input fields can be found at: // https://smartystreets.com/docs/cloud/international-address-autocomplete-api#http-input-fields