Skip to content

Commit

Permalink
Add default values in backup config (#1780)
Browse files Browse the repository at this point in the history
* Add default values in backup config

* Update default avatar url

---------

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
  • Loading branch information
arthurpar06 and nabeelio authored Feb 28, 2024
1 parent 143d927 commit 5d0fb9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@
/*
* If this is an empty string, the name field on the webhook will be used.
*/
'username' => env('BACKUP_DISCORD_USERNAME', ''),
'username' => env('BACKUP_DISCORD_USERNAME', 'phpVMS Backup'),

/*
* If this is an empty string, the avatar on the webhook will be used.
*/
'avatar_url' => env('BACKUP_DISCORD_AVATAR_URL', ''),
'avatar_url' => env('BACKUP_DISCORD_AVATAR_URL', env('APP_URL').'/assets/img/logo.png'),
],
],

Expand Down
Binary file added public/assets/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5d0fb9e

Please sign in to comment.