From dc2a8e23073716003ef116c8e3fa8934c3a6e76d Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Mon, 11 May 2026 12:22:13 +0200 Subject: [PATCH] beta.19: fix tuple label mismatch in APIFetchDelegate --- ClaudeChecker/UsageViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClaudeChecker/UsageViewModel.swift b/ClaudeChecker/UsageViewModel.swift index af8fe89..0df2f31 100644 --- a/ClaudeChecker/UsageViewModel.swift +++ b/ClaudeChecker/UsageViewModel.swift @@ -84,7 +84,7 @@ class UsageViewModel: ObservableObject { // Fetches an API path by navigating the WebView to the URL and reading the response. // Navigation lets WebKit send full browser headers and cookies automatically — // more reliable than callAsyncJavaScript fetch, which bypasses SPA auth interceptors. - private func webViewFetch(_ path: String) async throws -> (statusCode: Int, body: String) { + private func webViewFetch(_ path: String) async throws -> (Int, String) { guard let wv = apiWebView else { throw AppError.detail("no api webview") } return try await withCheckedThrowingContinuation { cont in let delegate = APIFetchDelegate(continuation: cont)