mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
➕ Add SyncNostrProfilesCommand to dispatch Nostr profile sync job
This commit is contained in:
18
app/Console/Commands/Nostr/SyncNostrProfilesCommand.php
Normal file
18
app/Console/Commands/Nostr/SyncNostrProfilesCommand.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Console\Commands\Nostr;
|
||||||
|
|
||||||
|
use App\Jobs\FetchNostrProfileJob;
|
||||||
|
use Illuminate\Console\Command;
|
||||||
|
|
||||||
|
class SyncNostrProfilesCommand extends Command
|
||||||
|
{
|
||||||
|
protected $signature = 'nostr:sync-nostr-profiles';
|
||||||
|
|
||||||
|
protected $description = 'Command description';
|
||||||
|
|
||||||
|
public function handle(): void
|
||||||
|
{
|
||||||
|
FetchNostrProfileJob::dispatch();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user