LPS-39751 Fix deprecated call