Skip to content

Commit b39d417

Browse files
committed
Update API KEY
1 parent b27024c commit b39d417

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

XCAChatGPTMac/XCAChatGPTMacApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import SwiftUI
1010
@main
1111
struct XCAChatGPTMacApp: App {
1212

13-
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "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"))
13+
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "API_KEY"))
1414

1515
var body: some Scene {
1616
MenuBarExtra("XCA ChatGPT", image: "icon") {

XCAChatGPTTV/XCAChatGPTTVApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import SwiftUI
1010
@main
1111
struct XCAChatGPTTVApp: App {
1212

13-
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "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"), enableSpeech: true)
13+
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "API_KEY"), enableSpeech: true)
1414

1515
@FocusState var isTextFieldFocused: Bool
1616

XCAChatGPTWatch Watch App/XCAChatGPTWatchApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import SwiftUI
1010
@main
1111
struct XCAChatGPTWatch_Watch_AppApp: App {
1212

13-
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "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"))
13+
@StateObject var vm = ViewModel(api: ChatGPTAPI(apiKey: "API_KEY"))
1414

1515
var body: some Scene {
1616
WindowGroup {

0 commit comments

Comments
 (0)