Skip to content

Commit 4d1ab49

Browse files
committed
fix issue in last commit
1 parent 4374e28 commit 4d1ab49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/geopressure_map_mismatch.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ geopressure_map_mismatch <- function(tag,
6464
}
6565

6666
# Request URLS
67-
req <- httr2::request("https://us-central1-cloud-service-mgravey.cloudfunctions.net/map") |>
67+
req <- httr2::request("https://glp.mgravey.com/GeoPressure/v2/map/") |>
6868
httr2::req_body_json(body) |>
6969
httr2::req_timeout(timeout) |>
7070
httr2::req_retry(max_tries = 3) |>
@@ -80,7 +80,7 @@ geopressure_map_mismatch <- function(tag,
8080
})
8181

8282
if (debug) {
83-
httr2::req_verbose(req, body_req = TRUE, body_resp = TRUE, info = TRUE)
83+
req <- httr2::req_verbose(req, body_req = TRUE, body_resp = TRUE, info = TRUE)
8484
}
8585

8686
# Perform the request and convert the response to json

0 commit comments

Comments
 (0)