sebastiangreger / kirby3-micropublisher

An adaptable Micropub endpoint for Kirby3.
MIT License
13 stars 2 forks source link

Sending a request to endpoint causes error, if access_token is not set #1

Closed fabianmichael closed 4 years ago

fabianmichael commented 4 years ago

The plugin currently does not check, if the key access_token, causing the script to to thro an error instead of warning about missing/empty token:

Whoops\Exception\ErrorException: Undefined index: access_token in file site/plugins/kirby3-micropublisher/classes/Micropublisher.php on line 22
sebastiangreger commented 4 years ago

Thanks, fixed that!