Fix quote id of sample

This commit is contained in:
Ailton Vieira
2023-06-11 21:58:26 -03:00
parent 9b4c1b0fe4
commit fb1d860f04
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ To make a request using SwiftRequest, you can do the following:
let baseURL = URL(string: "https://api.quotable.io")!
let service = QuoteService(baseURL: baseURL)
let (quotes, _) = try await service.getRandomQuotes(limit: 5)
let (quote, _) = try await service.getQuote(by: "69Ldsxcdm")
let (quote, _) = try await service.getQuote(by: "69Ldsxcdm-")
```
## Supported HTTP Methods

View File

@@ -7,7 +7,7 @@ do {
let (quotes, _) = try await service.getRandomQuotes(limit: 3)
print(quotes)
let (quote, _) = try await service.getQuote(by: "69Ldsxcdm")
let (quote, _) = try await service.getQuote(by: "69Ldsxcdm-")
print(quote)
} catch {
print(error)