Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
4 changes: 2 additions & 2 deletions asana.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ private function get_workspaces($apikey){
$workspaces = array();
foreach ($data as $workspace) {

$id = $workspace['id'];
$id = $workspace['gid'];
$name = $workspace['name'];

// // Set IDs for workspaces
Expand All @@ -463,7 +463,7 @@ private function get_projects($workspaces,$apikey){
foreach ($return as $project){

$name = $project['name'];
$project_id = $project['id'];
$project_id = $project['gid'];

$projects[$name] = array();
$projects[$name]['id'] = "$project_id";
Expand Down
4 changes: 2 additions & 2 deletions workflows.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function __construct()
$this->bundle = basename( $this->path );
endif;

$this->cache = $this->home. "/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/".$this->bundle;
$this->data = $this->home. "/Library/Application Support/Alfred 3/Workflow Data/".$this->bundle;
$this->cache = $this->home. "/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/".$this->bundle;
$this->data = $this->home. "/Library/Application Support/Alfred/Workflow Data/".$this->bundle;

if ( !file_exists( $this->cache ) ):
exec("mkdir '".$this->cache."'");
Expand Down