mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Fix thread command
This commit is contained in:
parent
8b4da709a8
commit
26615990e5
6 changed files with 13 additions and 13 deletions
|
|
@ -17,7 +17,7 @@ class WeeklyThread extends Command
|
|||
public function handle()
|
||||
{
|
||||
// 41
|
||||
$week = $this->argument('week') ?? now()->week;
|
||||
$week = $this->argument('week') ?? date('W');
|
||||
|
||||
// https://twitter.com/archtechx/status/1448992205138444334?s=20
|
||||
$url = $this->argument('url');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue