aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/query/lgn_sign_in.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/query/lgn_sign_in.erl b/src/login/query/lgn_sign_in.erl
index 0dee17a..e0952ed 100644
--- a/src/login/query/lgn_sign_in.erl
+++ b/src/login/query/lgn_sign_in.erl
@@ -103,7 +103,7 @@ commit_update (QueryState) ->
]
),
- shr_database:commit(Query),
+ ok = shr_database:commit(Query),
shr_timed_cache:update(player_db, PlayerID, PlayerID, UpdatedPlayer),
'ok'.
@@ -123,7 +123,7 @@ handle (Req) ->
QueryState = fetch_data(Input),
Update = update_data(QueryState, Input),
commit_update(Update),
- generate_reply(QueryState).
+ generate_reply(Update).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%