diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-09-11 12:32:54 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-09-11 12:32:54 +0200 |
| commit | 397cb011a540d53974a87d94a8ff8576e2024b63 (patch) | |
| tree | 616de785531442329f42333724c9fa9a728cf4e3 /QSThingsPlugin/Actions/CompleteTaskAction.m | |
| parent | 1613c951d49e6d85aff52f312d57fa087b35c079 (diff) | |
Add create actions
Diffstat (limited to 'QSThingsPlugin/Actions/CompleteTaskAction.m')
| -rw-r--r-- | QSThingsPlugin/Actions/CompleteTaskAction.m | 7 |
1 files changed, 1 insertions, 6 deletions
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) { |