Compare commits

..

No commits in common. "61d7c3501f50e0d7c1031c6846b7adc466590bb9" and "e6f29e9a4e69eec9af83ba4803d61fc29e52bf8d" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View File

@ -1721,7 +1721,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 170;
CURRENT_PROJECT_VERSION = 169;
DEVELOPMENT_TEAM = 46DTTB8X4S;
INFOPLIST_FILE = AutoCat/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
@ -1750,7 +1750,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 170;
CURRENT_PROJECT_VERSION = 169;
DEVELOPMENT_TEAM = 46DTTB8X4S;
INFOPLIST_FILE = AutoCat/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;

View File

@ -276,10 +276,6 @@ public actor ApiService: ApiServiceProtocol {
body["events"] = AnyEncodable(events)
}
if let avtocodReport {
body["avtocodReport"] = AnyEncodable(avtocodReport)
}
return try await makeBodyRequest(api: "vehicles/check", body: body)
}
@ -368,7 +364,7 @@ public actor ApiService: ApiServiceProtocol {
}
urlComponents.queryItems = [
URLQueryItem(name: "number", value: number),
URLQueryItem(name: "number", value: number.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)),
URLQueryItem(name: "type", value: numberType.value),
URLQueryItem(name: "device_token", value: UUID().uuidString)
]

View File

@ -11,6 +11,4 @@ import Foundation
struct AvtocodResponse: Decodable {
let report_uri: String?
let token: String?
let available_reports: Int?
}