Skip to content

Commit

Permalink
Fix cache use parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Sep 24, 2024
1 parent 5ed2d46 commit 9631a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/finbif_occurrence.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ occurrence <- function(fb_records_obj) {
fb_records_obj[["taxa"]], fb_records_obj[["filter"]]
)

cache <- as.list(
c(fb_records_obj[["cache"]], getOption("finbif_use_cache_metadata"))
)
cache <- as.list(fb_records_obj[["cache"]])

cache <- c(cache, getOption("finbif_use_cache_metadata"))

fb_records_obj[["cache"]] <- cache[1:2]

Expand Down

0 comments on commit 9631a38

Please sign in to comment.