Skip to content

Commit 09622f8

Browse files
fix: lint issues (#809)
1 parent 8be900c commit 09622f8

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

Sources/AlgoliaSearchClient/Client/AnalyticsClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public extension AnalyticsClient {
272272
- Returns: [ABTestsResponse] object
273273
*/
274274
func browseAllABTests(hitsPerPage: Int? = nil,
275-
requestOptions: RequestOptions? = nil) throws -> [ABTestResponse] {
275+
requestOptions: RequestOptions? = nil) throws -> [ABTestResponse] {
276276
var responses: [ABTestResponse] = []
277277
var page = 0
278278
while true {

Sources/AlgoliaSearchClient/Index/Index+Indexing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public extension Index {
264264
- Returns: Requested record
265265
*/
266266
@discardableResult func deleteObject(withID objectID: ObjectID,
267-
requestOptions: RequestOptions? = nil) throws -> WaitableWrapper<ObjectDeletion> {
267+
requestOptions: RequestOptions? = nil) throws -> WaitableWrapper<ObjectDeletion> {
268268
let command = Command.Indexing.DeleteObject(indexName: name, objectID: objectID, requestOptions: requestOptions)
269269
return try execute(command)
270270
}

Sources/AlgoliaSearchClient/Models/APIKey/APIKeyRevision.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010
public struct APIKeyRevision: Codable {
1111

1212
/// The created or restored APIKey.
13-
// public let key: APIKey
13+
public let key: APIKey
1414

1515
/// The date at which the APIKey has been created or restored.
1616
public let updatedAt: Date

Sources/AlgoliaSearchClient/Models/Places/Country.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//
55
// Created by Vladislav Fitc on 12/04/2020.
66
//
7-
// swiftlint:disable type_body_length
87

98
import Foundation
109

Sources/AlgoliaSearchClient/Transport/HTTP/HTTPRequestBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class HTTPRequestBuilder {
4444
func build<Response: Decodable, Output>(for command: AlgoliaCommand, transform: @escaping (Response) -> Output, responseType: Output.Type) -> HTTPRequest<Response, Output> {
4545
return build(for: command,
4646
transform: transform,
47-
with: { (_:HTTPRequest<Response, Output>.Result) in })
47+
with: { (_: HTTPRequest<Response, Output>.Result) in })
4848
}
4949

5050
}

Tests/AlgoliaSearchClientTests/Integration/InsightsIntegrationTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class InsightsIntegrationTests: IntegrationTestCase {
2020
}
2121

2222
func insights() throws {
23+
Logger.minSeverityLevel = .trace
2324

2425
let insightsClient = InsightsClient(appID: client.applicationID, apiKey: client.apiKey)
2526

0 commit comments

Comments
 (0)