Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

Commit 9cbd4e1

Browse files
committed
fix types
1 parent d5b1c8d commit 9cbd4e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/antidote_pb_codec.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
| {read_objects, {Objects :: [bound_object()], TxId :: binary()}}.
7878

7979
-type response() ::
80-
{error_resp, {ErrorCode :: error_code(), Message :: binary()}}
81-
| {start_transaction_resp, Resp :: {ok, TxId :: binary} | {error, Reason::any()}}
82-
| {error_response, {error_code(), Message :: binary()}}
80+
{error_response, {ErrorCode :: error_code(), Message :: binary()}}
81+
| {start_transaction_resp, Resp :: {ok, TxId :: binary()} | {error, Reason::error_code()}}
82+
| {commit_response, {ok, CommitTime :: any()} | {error, Reason :: error_code()}}
8383
| {static_read_objects_resp, {ok, Results :: list(), CommitTime :: binary()}}
8484
| {read_objects_resp, Resp :: list()}.
8585

0 commit comments

Comments
 (0)