wip
This commit is contained in:
@@ -184,7 +184,7 @@ class User extends Authenticatable
|
|||||||
*/
|
*/
|
||||||
public function ownsCardOrder(CardOrder $cardOrder): bool
|
public function ownsCardOrder(CardOrder $cardOrder): bool
|
||||||
{
|
{
|
||||||
return $this->id === intval($cardOrder->user_id);
|
return $this->id == intval($cardOrder->user_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user