Skip to content

Commit

Permalink
fixed gen_server:cast
Browse files Browse the repository at this point in the history
  • Loading branch information
chvanikoff committed Nov 4, 2013
1 parent f9eecd0 commit df4783e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ducksboard_srv.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ start_link(ApiKey) -> gen_server:start_link({local, ?MODULE}, ?MODULE, [ApiKey],

set_api_key(ApiKey) -> gen_server:cast(?MODULE, {set_api_key, ApiKey}).

push(Key, Val) -> gen_server:cast({push, Key, Val}).
push(Key, Val) -> gen_server:cast(?MODULE, {push, Key, Val}).

%% ===================================================================
%% Gen_server callbacks
Expand Down

0 comments on commit df4783e

Please sign in to comment.