Permalink
Browse files

Fixed import issue

  • Loading branch information...
1 parent c088a52 commit 89128a06e936eb9baf0eb1d5ed067314a6be3d49 Cesare Rocchi committed Feb 14, 2014
Showing with 16 additions and 15 deletions.
  1. +1 −0 BaasBox-iOS-SDK/BAAClient.h
  2. +15 −15 BaasBox-iOS-SDK/BAAClient.m
@@ -9,6 +9,7 @@
#import "BAAObject.h"
#import "BAAGlobals.h"
#import "BAAFile.h"
+#import "BaasBox.h"
@interface BAAClient : NSObject
@@ -259,21 +259,21 @@ - (void) logoutWithCompletion:(BAABooleanResultBlock)completionHander {
}
[self postPath:path
- parameters:nil
- success:^(id responseObject) {
-
- if (completionHander) {
- self.currentUser = nil;
- [self saveUserToDisk:self.currentUser];
- completionHander(YES, nil);
- }
-
- } failure:^(NSError *error) {
-
- if (completionHander)
- completionHander(NO, error);
-
- }];
+ parameters:nil
+ success:^(id responseObject) {
+
+ if (completionHander) {
+ self.currentUser = nil;
+ [self saveUserToDisk:self.currentUser];
+ completionHander(YES, nil);
+ }
+
+ } failure:^(NSError *error) {
+
+ if (completionHander)
+ completionHander(NO, error);
+
+ }];
}

0 comments on commit 89128a0

Please sign in to comment.