Skip to content

Commit

Permalink
Update config.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK authored Aug 23, 2023
1 parent 514b82a commit 47983fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/request_cache/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule RequestCache.Config do
@app :request_cache_plug

def verbose? do
!!Application.get_env(@app, :verbose?)
!!Application.get_env(@app, :verbose?, false)
end

def graphql_paths do
Expand All @@ -24,7 +24,7 @@ defmodule RequestCache.Config do
end

def enabled? do
!!Application.get_env(@app, :enabled?)
!!Application.get_env(@app, :enabled?, true)
end

def default_concache_opts do
Expand Down

0 comments on commit 47983fb

Please sign in to comment.