I have high cold and headacahe but fasting can i take spray in nose during fasting or not

Salamunalaikum

If the spray that comes out of the nozzle enters the respiratory tract and not the passage of food and drink, it does not invalidate fast.
Wassalam
Syed Abul Qasim Rizvi