Skip to content

Commit

Permalink
Assigns the default endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ulissesalmeida committed Nov 16, 2022
1 parent 62b4acc commit 36a4f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kane.ex
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ defmodule Kane do
@spec oauth_scope :: String.t()
def oauth_scope, do: "https://www.googleapis.com/auth/pubsub"

@enforce_keys [:endpoint, :token, :project_id]
defstruct [:endpoint, :token, :project_id]
@enforce_keys [:token, :project_id]
defstruct [:token, :project_id, endpoint: "https://pubsub.googleapis.com/v1"]

@type t :: %__MODULE__{
endpoint: String.t(),
Expand Down

0 comments on commit 36a4f61

Please sign in to comment.