Skip to content

Commit 461cbe0

Browse files
committed
Fix documentation references
1 parent eddfa13 commit 461cbe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/MailTMSwift/Services/MTMessagesService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ open class MTMessageService {
2626
/// - Parameters:
2727
/// - page: pagination page number
2828
/// - token: account JWT token
29-
/// - completion: when successful, returns a completion handler `Result` type of ``[MTMessage]`` and ``MTError`` if some error occurred
29+
/// - completion: when successful, returns a completion handler `Result` type of array of``MTMessage`` and ``MTError`` if some error occurred
3030
/// - Returns: ServiceTask which can be used to cancel on-going http(s) request
3131
/// - Note: Messages received will not be complete. Use the retreived messages to show a list of messages.
3232
/// To retreive the complete message, use ``MTMessageService/getMessage(id:token:)``.
@@ -224,7 +224,7 @@ open class MTMessageService {
224224
/// - Parameters:
225225
/// - id: message id
226226
/// - token: account JWT Token
227-
/// - Returns: ``URLRequest`` configured to retreive message source.
227+
/// - Returns: `URLRequest` configured to retreive message source.
228228
/// - Note: This method will return nil, if the message source url is nil.
229229
public func getSourceRequest(id: String, token: String) -> URLRequest? {
230230
guard let url = URL(string: Endpoints.sourcesFromId(id)) else {

0 commit comments

Comments
 (0)