Skip to content

Commit 8e5c34a

Browse files
authored
Merge pull request #107 from YoloMao/fix/web_api
fix: change baseURL to v3.1
2 parents 87283f7 + 9d2f4ad commit 8e5c34a

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/v2"
23+
self.baseURL = "https://restcountries.com/v3.1"
2424
}
2525

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

0 commit comments

Comments
 (0)