We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f3a19 commit 8b3f7a3Copy full SHA for 8b3f7a3
src/Traits/HasWallet.php
@@ -331,6 +331,7 @@ public function wallet(): MorphOne
331
{
332
return ($this instanceof WalletModel ? $this->holder : $this)
333
->morphOne(config('wallet.wallet.model'), 'holder')
334
+ ->where('slug', config('wallet.wallet.default.slug'))
335
->withDefault([
336
'name' => config('wallet.wallet.default.name'),
337
'slug' => config('wallet.wallet.default.slug'),
0 commit comments