Skip to content

Commit

Permalink
remove user
Browse files Browse the repository at this point in the history
  • Loading branch information
khufkens committed Aug 27, 2024
1 parent 52ec55b commit 16a8ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ guess_service <- function(request, user = NULL) {
# checks user login, the request layout and
# returns the service to use if successful
# TODO LOGIN CHECK
wf_check <- try(wf_check_request(request, user), silent = TRUE)
wf_check <- try(wf_check_request(request), silent = TRUE)

if (nrow(wf_check) <= 0 || is.null(wf_check)) {
if (nrow(wf_check) <= 0 || is.null(wf_check) || inherits(wf_check, "try-error") ) {
stop(
sprintf(
" Data identifier %s is not found in Web API, CDS, CDS-beta or ADS datasets.
Expand Down

0 comments on commit 16a8ae6

Please sign in to comment.