diff --git a/README.md b/README.md index 93c2e91..c301c5b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/Sources/SwiftRequestClient/main.swift b/Sources/SwiftRequestClient/main.swift index 247d7e3..953a245 100644 --- a/Sources/SwiftRequestClient/main.swift +++ b/Sources/SwiftRequestClient/main.swift @@ -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)