Skip to content

Commit

Permalink
check options.workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 7, 2024
1 parent c46c58c commit 48b729d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/db/declarative/import.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ local function workspace_id(schema, options)
end

-- options.workspace does not exist
if not options or not options.workspace then
if not options or not options.workspace or options.workspace == "" then
return get_workspace_id()
end

Expand Down

0 comments on commit 48b729d

Please sign in to comment.