yannickglt / alfred-slack

The Slack workflow for Alfred app
GNU General Public License v2.0
330 stars 31 forks source link

slack --stars, no action #34

Open Acidham opened 6 years ago

Acidham commented 6 years ago

When I try to get list of all starred items and ERROR: action.script will be thrown but no error message.

[2018-03-27 12:47:01][ERROR: action.script] Cache folder: /Users/xxx/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.yannickglt.alfred2.slack
Data folder: /Users/xxx/Library/Application Support/Alfred 3/Workflow Data/com.yannickglt.alfred2.slack
ACTION: AlfredSlack\Controllers\ConfigController::getStarredItemsAction()
SIMULATE: php -r '$query="{\"controller\":\"config\",\"action\":\"getStarredItems\",\"params\":{\"search\":null}}";include "scripts/index.php";';
yannickglt commented 6 years ago

Hi, I guess this is because an argument was expected after the slack --stars command (for filtering purpose). The filter is now optional. Let me know if it solves your problem.