Skip to content

Commit

Permalink
Fix licensing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed Aug 8, 2024
1 parent 5032133 commit 38bcf83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GenieBuilder"
uuid = "c9453c14-af8a-11ec-351d-c7c9a2035d70"
authors = ["Adrian Salceanu"]
version = "0.17.5"
version = "0.17.6"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
12 changes: 0 additions & 12 deletions src/Licensing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,6 @@ function logoff() :: Nothing
end

function start_session()
if is_subscription_expired(subscription_info)
@warn("Subscription expired")
logoff()

return ENV["GENIE_SESSION"]
end

isloggedin() && return ENV["GENIE_SESSION"]

session_data = try
Expand Down Expand Up @@ -227,11 +220,6 @@ function headers(; content_type::AbstractString = "application/json")
)
end

function is_subscription_expired(subscription_info) :: Bool
# 1/ check if the subscription is expired
false
end

# log an action
function log(;
type::Union{AbstractString,Symbol},
Expand Down

0 comments on commit 38bcf83

Please sign in to comment.