fix iOS build blockers and add project scaffold
This commit is contained in:
@@ -91,7 +91,8 @@ struct HermesAPIClient {
|
||||
}
|
||||
|
||||
func submitAnalyticsBatch(_ payload: HermesAnalyticsBatchRequest) async throws {
|
||||
try await perform(path: "api/v1/analytics/batch", method: "POST", body: payload)
|
||||
let encodedBody = try encoder.encode(payload)
|
||||
_ = try await perform(path: "api/v1/analytics/batch", method: "POST", body: encodedBody)
|
||||
}
|
||||
|
||||
private func send<Response: Decodable>(path: String, method: String = "GET") async throws -> Response {
|
||||
|
||||
Reference in New Issue
Block a user