Skip to content

Commit 9db8fdc

Browse files
committed
update env var key
1 parent 65f3d6e commit 9db8fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/Sources/Yosemite/Stores/ProductStore.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ private extension ProductStore {
605605
case .merchant:
606606
let result = await Result {
607607
// Temporary. This will come from the KeyChain rather than the environment
608-
let key = ProcessInfo.processInfo.environment["openai-hack-key"] ?? "api key not found"
608+
let key = ProcessInfo.processInfo.environment["openai-debug-api-key"] ?? "api key not found"
609609
return try await MerchantGenerativeContentRemote(apiKey: key).identifyLanguage(siteID: siteID,
610610
string: string,
611611
feature: feature)
@@ -768,7 +768,7 @@ private extension ProductStore {
768768
completion(result)
769769
case .merchant:
770770
let result = await Result {
771-
let key = ProcessInfo.processInfo.environment["openai-hack-key"] ?? "api key not found"
771+
let key = ProcessInfo.processInfo.environment["openai-debug-api-key"] ?? "api key not found"
772772
return try await MerchantGenerativeContentRemote(apiKey: key).generateAIProduct(siteID: siteID,
773773
productName: productName,
774774
keywords: keywords,

0 commit comments

Comments
 (0)