mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-15 16:14:30 -07:00
🤖 Auto commit for release 'develop' on 2026-01-25
This commit is contained in:
@@ -47,8 +47,8 @@ class WebhookMessage extends Model
|
||||
public static function routeBinder(self|string $value): self
|
||||
{
|
||||
if (auth()->check()) {
|
||||
if($value instanceof self) {
|
||||
$value = (int)$value->id;
|
||||
if ($value instanceof self) {
|
||||
$value = (int) $value->id;
|
||||
}
|
||||
$messageId = (int) $value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user