rach7110 / sun-moon-tide

An API for photographers who like to shoot at night when the tide is low, the moon is full, and the sun is set.
0 stars 0 forks source link

Command 'updateBuoys' is broken #1

Open rach7110 opened 2 years ago

rach7110 commented 2 years ago

Issue:

This custom command updateBuoys does not work as intended.

Steps to reproduce:

$ php artisan updateBuoys

Expected:

The command should update the list of NOAA buoy IDs in local storage and log the timestamp of when the job was completed in the laravel.log file.

Actual

ArgumentCountError 

Too few arguments to function App\Jobs\UpdateNoaaBuoys::handle(), 0 passed in /Users/loziuk/code/sun-moon-tide/app/Console/Commands/UpdateBuoyStations.php on line 43 and exactly 1 expected
rach7110 commented 2 years ago

Fixed, reference commit: https://github.com/rach7110/sun-moon-tide/commit/dc82826aec6cb3c07da6e76475a8eb757a225574