removed _id in model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Successful in 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Larastan / larastan (pull_request) Failing after 7m0s
Laravel Pint / pint (pull_request) Failing after 7m34s

This commit is contained in:
dhanabalan
2026-01-27 12:02:35 +05:30
parent cdf9f60ffd
commit 06628072dc

View File

@@ -68,6 +68,6 @@ class User extends Authenticatable implements FilamentUser
public function pushSubscriptions()
{
return $this->morphMany(PushSubscription::class, 'subscribable_id');
return $this->morphMany(PushSubscription::class, 'subscribable');
}
}