Bonjour Madalena !
Yes, you are perfectly correct!
The partitive articles du, de la, de l' and des become de or d' in negative sentences.
Here is a link to the matching lesson: https://kwiziq.learnfrenchwithalexa.com/revision/grammar/the-partitive-article-in-negative-sentences
A bientôt !