1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing vweb_test.v

This commit is contained in:
Delyan Angelov
2021-08-17 18:36:10 +03:00
parent e1c762a616
commit f96b81b53a
4 changed files with 7 additions and 5 deletions

View File

@ -41,7 +41,7 @@ fn main() {
url := 'https://api.caiyunapp.com/v2.5/96Ly7wgKGq6FhllM/116.391912,40.010711/weather.jsonp?hourlysteps=120&random=$rnd'
// println(url)
resp := http.fetch(url, config) or {
resp := http.fetch(http.FetchConfig{ ...config, url: url }) or {
println('failed to fetch data from the server')
return
}