Skip to content

Commit

Permalink
fix: missed type in callback
Browse files Browse the repository at this point in the history
  • Loading branch information
SalavatR committed Aug 13, 2023
1 parent 1fc792e commit 61cf24a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension-appsflyer/src/appsflyer_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ static void InvokeCallback(MessageId type, const char* json)
return;
}

lua_pushnumber(L, type);
dmScript::JsonToLua(L, json, strlen(json)); // throws lua error if it fails

int ret = dmScript::PCall(L, 3, 0);
Expand Down

0 comments on commit 61cf24a

Please sign in to comment.