Commit 92f3a880 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Merge pull request #487 from justuseapen/fix-error-typo

Fix typo so 'grant' is spelled correctly
parents e7e4b664 94db45ab
...@@ -275,7 +275,7 @@ RCT_EXPORT_METHOD(requestPermissions:(RCTPromiseResolveBlock)resolve rejecter:(R ...@@ -275,7 +275,7 @@ RCT_EXPORT_METHOD(requestPermissions:(RCTPromiseResolveBlock)resolve rejecter:(R
if(granted){ if(granted){
resolve(nil); resolve(nil);
} else{ } else{
reject(@"notification_error", @"Failed to grand permission", error); reject(@"notification_error", @"Failed to grant permission", error);
} }
} }
]; ];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment