From 397cb011a540d53974a87d94a8ff8576e2024b63 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 11 Sep 2025 12:32:54 +0200 Subject: Add create actions --- QSThingsPlugin/Actions/CompleteTaskAction.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'QSThingsPlugin/Actions/CompleteTaskAction.m') diff --git a/QSThingsPlugin/Actions/CompleteTaskAction.m b/QSThingsPlugin/Actions/CompleteTaskAction.m index 5ff1bd0..afc55ac 100644 --- a/QSThingsPlugin/Actions/CompleteTaskAction.m +++ b/QSThingsPlugin/Actions/CompleteTaskAction.m @@ -7,13 +7,8 @@ NS_ASSUME_NONNULL_BEGIN - (QSObject *)completeTask:(QSObject *)directObject { NSSet *validTypes = [NSSet setWithObjects:kProjectType, kTaskType, nil]; - NSString *authenticationKey = [KeychainHelper authenticationKey]; - if (!authenticationKey) { - NSLog(@"There is no authentication key."); - } - - if (authenticationKey && [validTypes containsObject:directObject.primaryType]) { + if ([validTypes containsObject:directObject.primaryType]) { NSDictionary *contents = [directObject objectForType:directObject.primaryType]; ThingsURLRoute route = ThingsURLRouteUpdate; if (directObject.primaryType == kProjectType) { -- cgit