Closed stefanoortisi closed 9 years ago
Hi @hems I noticed that inside the room model class (https://github.com/Loopcast/beta/blob/development/src/models/schemas/room.coffee#L67-L78) on the post remove hook you are trying to delete the cloudinary image reading a field which is no more used. As you can see on the edit api call
https://github.com/Loopcast/beta/blob/development/src/routes/api/v1/rooms/edit.coffee#L73
We are now using the field info.cover_url
Am i right?
@stefanoortisi yes, you are right!
for now i'll remove from the schema, and use where it needs to be used, and then hopefully later find a perfect way to use on the hook!
Hi @hems I noticed that inside the room model class (https://github.com/Loopcast/beta/blob/development/src/models/schemas/room.coffee#L67-L78) on the post remove hook you are trying to delete the cloudinary image reading a field which is no more used. As you can see on the edit api call
https://github.com/Loopcast/beta/blob/development/src/routes/api/v1/rooms/edit.coffee#L73
We are now using the field info.cover_url
Am i right?