Skip to content

Commit 9eca97b

Browse files
author
Alexey Naumov
committed
fix: Revert API version change
1 parent 38865bb commit 9eca97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CountriesSwiftUI/Repositories/WebAPI/CountriesWebRepository.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct RealCountriesWebRepository: CountriesWebRepository {
2020

2121
init(session: URLSession) {
2222
self.session = session
23-
self.baseURL = "https://restcountries.com/v3.1"
23+
self.baseURL = "https://restcountries.com/v2"
2424
}
2525

2626
func countries() async throws -> [ApiModel.Country] {

0 commit comments

Comments
 (0)