Permalink
Browse files

fixed gen_server:cast

  • Loading branch information...
1 parent f9eecd0 commit df4783e0a4ec4a049418365f32bbb8cb9e626fce @chvanikoff committed Nov 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ducksboard_srv.erl
View
@@ -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

0 comments on commit df4783e

Please sign in to comment.