You got lucky these are pretty hardy fish and will adapt to many types of food. Mine eats just about everything.
Please research on your own before purchasing anything. If you have a smartphone you can google the item in the store. You got lucky with this fish but there are many that you could end up killing without the prior correct knowledge.
Just a heads up from someone else new to the hobby ( assuming that you too are new). I have quickly learned that an lfs will tell you anything to make the sale. Do all of your homework before you buy anything, if it is a spur of the moment decision, if you have a smartphone, you can always search your question on google from the store. Chances are the same exact question has been answered somewhere on the internet.