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://french.kwiziq.com/revision/grammar/the-partitive-article-in-negative-sentences
A bientôt !