This commit is contained in:
2024-11-27 23:29:37 +05:00
parent ed640bf49e
commit 6aa6487b6f

View File

@@ -184,7 +184,7 @@ class User extends Authenticatable
*/
public function ownsCardOrder(CardOrder $cardOrder): bool
{
return $this->id === intval($cardOrder->user_id);
return $this->id == intval($cardOrder->user_id);
}
/**