From 7a48b32dfdf1ec32ab5571a4aa43f382f1b86f26 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Fri, 12 Feb 2021 17:48:36 +0100 Subject: [PATCH] Update fetchPostRequest parameter --- packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m index 31973fa0740048..96e8b7ccb769b2 100644 --- a/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m +++ b/packages/react-native-bridge/ios/RNReactNativeGutenbergBridge.m @@ -16,7 +16,7 @@ @interface RCT_EXTERN_MODULE(RNReactNativeGutenbergBridge, NSObject) RCT_EXTERN_METHOD(editorDidEmitLog:(NSString *)message logLevel:(int)logLevel) RCT_EXTERN_METHOD(editorDidAutosave) RCT_EXTERN_METHOD(fetchGetRequest:(NSString *)path resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) -RCT_EXTERN_METHOD(fetchPostRequest:(NSString *)path data:(NSDictionary *)data resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) +RCT_EXTERN_METHOD(fetchPostRequest:(NSString *)path parameters:(NSDictionary *)parameters resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) RCT_EXTERN_METHOD(requestImageFullscreenPreview:(NSString *)currentImageUrlString originalImageUrlString:(NSString *)originalImageUrlString) RCT_EXTERN_METHOD(requestMediaEditor:(NSString *)mediaUrl callback:(RCTResponseSenderBlock)callback) RCT_EXTERN_METHOD(logUserEvent:(NSString *)event properties:(NSDictionary *)properties)