Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove redundant call

roryclear0a93143dce5a
diff --git a/clearcam/GalleryViewController.m b/clearcam/GalleryViewController.m
index 1049e93..23dd2ab 100644
--- a/clearcam/GalleryViewController.m
+++ b/clearcam/GalleryViewController.m
@@ -303,10 +303,7 @@
self.isLoadingVideos = YES;
NSURLComponents *components = [NSURLComponents componentsWithString:@"https://rors.ai/events"];
- __block NSString *sessionToken = @"";
- [[StoreManager sharedInstance] verifySubscriptionWithCompletionIfSubbed:^(BOOL isActive, NSDate *expiryDate) {
- sessionToken = [[StoreManager sharedInstance] retrieveSessionTokenFromKeychain];
- }];
+ NSString *sessionToken = [[StoreManager sharedInstance] retrieveSessionTokenFromKeychain];
NSMutableArray<NSURLQueryItem *> *queryItems = [NSMutableArray array];
if (sessionToken) [queryItems addObject:[NSURLQueryItem queryItemWithName:@"session_token" value:sessionToken]];