It doesn't sound like you did free work for them. It sounds like they subcontracted you and you did free work for someone else. Someone told them to have this done quickly. Maybe they were supposed to have it done already. It doesn't matter.
They submitted your work and sent you the feedback they received.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.