Skip to content

Commit 4f9102b

Browse files
committed
Fix error message id
1 parent 26ef715 commit 4f9102b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/rnappauth/RNAppAuthModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public void onFetchConfigurationCompleted(
268268
@Nullable AuthorizationServiceConfiguration fetchedConfiguration,
269269
@Nullable AuthorizationException ex) {
270270
if (ex != null) {
271-
promise.reject("token_refresh_failed", getErrorMessage(ex));
271+
promise.reject("service_configuration_fetch_error", getErrorMessage(ex));
272272
return;
273273
}
274274

0 commit comments

Comments
 (0)