Skip to content

Commit

Permalink
Update ChatWindow.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
terribilis authored Mar 8, 2024
1 parent 15af051 commit 0835afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stronger/ProteinTracker/ChatWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import SpeziLLMOpenAI
import SwiftUI

func get_protein_content(for foodItem: String, defaultProtein: Double = 0.0) -> Double {
let apiKey = "jUBpE8JHsjp7aMjpvrauVMuLNdC3DR5pnvW18Lej"
let apiKey = "W03syDuGkdxiRoLFMPr9Yg==kg7WNYBWJUl9IBKt"

Check warning on line 22 in Stronger/ProteinTracker/ChatWindow.swift

View check run for this annotation

Codecov / codecov/patch

Stronger/ProteinTracker/ChatWindow.swift#L22

Added line #L22 was not covered by tests
let urlString = "https://api.api-ninjas.com/v1/nutrition?&query=\(foodItem)&x-api-key=\(apiKey)"

guard let url = URL(string: urlString) else {
Expand Down

0 comments on commit 0835afe

Please sign in to comment.