Browse Source

style: modify variable name

dongdayu 5 years ago
parent
commit
07a61b0864
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      ios/RNLGeetestSensebot.m

+ 2
- 2
ios/RNLGeetestSensebot.m View File

@@ -19,8 +19,8 @@ typedef NS_ENUM(NSInteger, RNLGSError) {
19 19
     RNLGSParameterParseError = -1,
20 20
 };
21 21
 
22
-static NSNumber* RNLGSGetErrorCode(RNLGSError event) {
23
-    return [NSNumber numberWithInteger:event];
22
+static NSNumber* RNLGSGetErrorCode(RNLGSError error) {
23
+    return [NSNumber numberWithInteger:error];
24 24
 }
25 25
 
26 26
 @interface RNLGeetestSensebot () <GT3CaptchaManagerDelegate, GT3CaptchaManagerViewDelegate>