isomerpages/isomercms-backend

Inconsistent endpoints for media creation and deletion

Closed this issue · 1 comments

Currently, when we create a media file in a nested folder, we call the same endpoint as creating a media file in the root folder, with a difference in the params used. However, when deleting items, we use the custom path of the item in the endpoint. We should standardise this inconsistent behaviour.

Resolved with the refactor!