Skip to content

Commit 998b31f

Browse files
committed
Fix some minor typos
1 parent 8301b2d commit 998b31f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/StreamChat/Config/SendMessageInterceptor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
import Foundation
66

7-
/// A struct that contains additional date when sending messages.
7+
/// A struct that contains additional info when sending messages.
88
public struct SendMessageOptions {
99
public let skipPush: Bool
1010
public let skipEnrichUrl: Bool
1111
}
1212

13-
/// A struct that represents the response of sending a message.
13+
/// A struct that represents the response when sending a message.
1414
public struct SendMessageResponse {
1515
public let message: ChatMessage
1616

Tests/StreamChatTests/Repositories/MessageRepository_Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class MessageRepositoryTests: XCTestCase {
1616
let client = ChatClient.mock
1717
database = client.mockDatabaseContainer
1818
apiClient = client.mockAPIClient
19-
repository = MessageRepository(database: database, apiClient: apiClient, interceptor: nil)
19+
repository = MessageRepository(database: database, apiClient: apiClient)
2020
cid = .unique
2121
}
2222

0 commit comments

Comments
 (0)