We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355856c commit adfd3f5Copy full SHA for adfd3f5
src/projects.jl
@@ -36,10 +36,11 @@ const ProjectReference = Union{AbstractString, UUIDs.UUID}
36
# if present.
37
function _project_uuid(auth::Authentication, project::Union{ProjectReference, Nothing})::UUIDs.UUID
38
if isnothing(project)
39
- if isnothing(auth.project_id)
+ project_id = project_id
40
+ if isnothing(project_id)
41
throw(ProjectNotSetError())
42
else
- return auth.project_id
43
+ return project_id
44
end
45
elseif isa(project, UUIDs.UUID)
46
return project
0 commit comments