Help me fix a bug in a elixir -- 2

Job ID: 32602437

Budget: $10 – $60 USD

I’ve got 1 minor task. Leads have attachments relationship.
When the frontend sends post request on leads controller with attachments set as null, i need to delete the attachments and removes relationship.

That’s it!
Related categories: Elixir