Skip to content

Commit

Permalink
fix(android): var name of context result
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Sep 6, 2023
1 parent 9af95bc commit 120e67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/rnllama/RNLlama.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ protected WritableMap doInBackground(Void... voids) {
}

@Override
protected void onPostExecute(WritableMap id) {
protected void onPostExecute(WritableMap result) {
if (exception != null) {
promise.reject(exception);
return;
}
promise.resolve(id);
promise.resolve(result);
}
}.execute();
}
Expand Down

0 comments on commit 120e67e

Please sign in to comment.