Hey I am trying to delete files when the entity from the database is getting deleted following the example from the github page:
{:ok, path} = ChallengeGroupAvatar.store({challenge_group.avatar, user})
:ok = ChallengeGroupAvatar.delete({path, user})
but on the first line form these 2 I am getting this error:
no function clause matching in Arc.File.new/1
Why is that the case?
I even tried to do it with no scope, but the same error happens


















