Skip to content

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

rename func

roryclear9ea4e20d726e
diff --git a/clearcam/GalleryViewController.m b/clearcam/GalleryViewController.m
index 941f0da..c285d46 100644
--- a/clearcam/GalleryViewController.m
+++ b/clearcam/GalleryViewController.m
@@ -70,7 +70,7 @@
[self setupDownloadDirectory];
[self setupTableView];
- [self sendPostRequest];
+ [self getEvents];
}
// Override viewWillLayoutSubviews to update table view frame
@@ -118,7 +118,7 @@
]];
}
-- (void)sendPostRequest {
+- (void)getEvents {
NSURLComponents *components = [NSURLComponents componentsWithString:@"https://rors.ai/events"];
NSString *sessionToken = [[StoreManager sharedInstance] retrieveSessionTokenFromKeychain];
if (sessionToken) {