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');
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
slug: weekly-thread-2021-44
|
||||
title: 'Weekly thread #44 of 2021'
|
||||
slug: weekly-thread-2021-42
|
||||
title: 'Weekly thread #42 of 2021'
|
||||
tweet_id: '1451526348132978689'
|
||||
author_username: archtechx
|
||||
created_at: 2021-10-24T11:19:00+00:00
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'Create this `tinker` bash script to supercharge your dev workflow'
|
||||
tweet_id: '1451526385982447647'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: Philo01
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FB1A012WYAILmTL.jpg'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'There are multiple ways to redirect users'
|
||||
tweet_id: '1451526393389621249'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: anwar_nairi
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCIjxoBWUAAOHfz.jpg'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'Use test files to describe your thoughts about a specific feature — in full — before starting implementation'
|
||||
tweet_id: '1451526388717133857'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: laracasts
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCJX2LhXsAQZdJF.jpg'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'You can make the Http client throw exceptions to terminate execution on any received errors'
|
||||
tweet_id: '1451526356521693187'
|
||||
thread_slug: weekly-thread-2021-44
|
||||
thread_slug: weekly-thread-2021-42
|
||||
author_username: pascalbaljet
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FCKQ8JdWUAc0I4q.jpg'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue