Skip to content

Commit

Permalink
Fix spec of write/3 of Instream.Connection.{QueryRunnerV1, QueryRunne…
Browse files Browse the repository at this point in the history
…rV2} (#74)
  • Loading branch information
nallwhy committed Jan 10, 2022
1 parent 05360f9 commit 2931bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/instream/connection/query_runner_v1.ex
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ defmodule Instream.Connection.QueryRunnerV1 do
@doc """
Executes `:write` queries.
"""
@spec write([map], Keyword.t(), map) :: any
@spec write([map], Keyword.t(), module) :: any
def write(points, opts, conn) do
config = conn.config()

Expand Down
2 changes: 1 addition & 1 deletion lib/instream/connection/query_runner_v2.ex
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ defmodule Instream.Connection.QueryRunnerV2 do
@doc """
Executes `:write` queries.
"""
@spec write([map], Keyword.t(), map) :: any
@spec write([map], Keyword.t(), module) :: any
def write(points, opts, conn) do
config = conn.config()

Expand Down

0 comments on commit 2931bdf

Please sign in to comment.