Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed gen_server:cast

  • Loading branch information...
commit df4783e0a4ec4a049418365f32bbb8cb9e626fce 1 parent f9eecd0
@chvanikoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ducksboard_srv.erl
View
2  src/ducksboard_srv.erl
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.