diff --git a/Source/santactl/sync/SNTCommandSyncLogUpload.m b/Source/santactl/sync/SNTCommandSyncLogUpload.m index 2719a7b11..8dc6a63e7 100644 --- a/Source/santactl/sync/SNTCommandSyncLogUpload.m +++ b/Source/santactl/sync/SNTCommandSyncLogUpload.m @@ -37,7 +37,7 @@ + (void)performSyncInSession:(NSURLSession *)session [NSString stringWithFormat:@"multipart/form-data; charset=UTF-8; boundary=%@", boundary]; [req setValue:contentType forHTTPHeaderField:@"Content-Type"]; - NSArray *logsToUpload = [SNTCommandSyncLogUpload logsToUpload]; + NSArray *logsToUpload = [self logsToUpload]; // Upload the logs [[session uploadTaskWithRequest:req