Hello DennisJ
Without any indication from you on the train number and travel date, it is difficult to give accurate advice.
Having booked an Eurocity connection, it might be possible that it goes through, requiring 60 minutes more travel time. Other Eurocity connections need a change in Lugano. You can check your connection using the online timetable at sbb.ch/en. The timetable is up-to-date for all train connections until 01 October 2023.
Kind regards,
Roland