Skip to content

Commit

Permalink
Added overrides to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
willbrowningme committed Feb 18, 2024
1 parent 31d206a commit f80dfa4
Show file tree
Hide file tree
Showing 6 changed files with 201 additions and 362 deletions.
2 changes: 1 addition & 1 deletion app/Http/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function toArray($request)
'bandwidth' => $this->bandwidth,
'bandwidth_limit' => $this->getBandwidthLimit(),
'username_count' => $this->username_count,
'username_limit' => (int) config('anonaddy.additional_username_limit'),
'username_limit' => config('anonaddy.additional_username_limit'),
'default_username_id' => $this->default_username_id,
'default_recipient_id' => $this->default_recipient_id,
'default_alias_domain' => $this->default_alias_domain,
Expand Down
87 changes: 44 additions & 43 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/anonaddy.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
|
*/

'limit' => env('ANONADDY_LIMIT', 200),
'limit' => (int) env('ANONADDY_LIMIT', 200),

/*
|--------------------------------------------------------------------------
Expand All @@ -130,7 +130,7 @@
|
*/

'bandwidth_limit' => env('ANONADDY_BANDWIDTH_LIMIT', 104857600),
'bandwidth_limit' => (int) env('ANONADDY_BANDWIDTH_LIMIT', 104857600),

/*
|--------------------------------------------------------------------------
Expand All @@ -142,7 +142,7 @@
|
*/

'new_alias_hourly_limit' => env('ANONADDY_NEW_ALIAS_LIMIT', 100),
'new_alias_hourly_limit' => (int) env('ANONADDY_NEW_ALIAS_LIMIT', 100),

/*
|--------------------------------------------------------------------------
Expand All @@ -154,7 +154,7 @@
|
*/

'additional_username_limit' => env('ANONADDY_ADDITIONAL_USERNAME_LIMIT', 10),
'additional_username_limit' => (int) env('ANONADDY_ADDITIONAL_USERNAME_LIMIT', 10),

/*
|--------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit f80dfa4

Please sign in to comment.