mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
bitcoin event front end forms added
This commit is contained in:
@@ -15,6 +15,15 @@ trait NostrTrait
|
||||
{
|
||||
public function publishOnNostr($model, $text): array
|
||||
{
|
||||
if (app()->environment('local')) {
|
||||
return [
|
||||
'success' => true,
|
||||
'output' => 'local',
|
||||
'exitCode' => 0,
|
||||
'errorOutput' => ''
|
||||
];
|
||||
}
|
||||
|
||||
//noscl publish "Good morning!"
|
||||
$result = Process::timeout(60 * 5)
|
||||
->run('noscl publish "'.$text.'"');
|
||||
|
||||
Reference in New Issue
Block a user