Skip to content

Commit 55bb706

Browse files
Merge pull request #34 from joladev/jl/expose-capture-2
2 parents f66bde7 + b077aba commit 55bb706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/posthog.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ defmodule Posthog do
144144

145145
@spec capture(Client.event(), Client.distinct_id(), Client.properties(), Client.opts()) ::
146146
Client.result()
147-
defdelegate capture(event, distinct_id, properties, opts \\ []), to: Client
147+
defdelegate capture(event, distinct_id, properties \\ %{}, opts \\ []), to: Client
148148

149149
@doc """
150150
Sends multiple events to PostHog in a single request.

0 commit comments

Comments
 (0)