You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the delete() call in ServerRepository is performing a DELETE to /:entity/:id and passing the JSON representation of the object as a parameter; that last part should not be needed.
Currently, the
delete()
call inServerRepository
is performing aDELETE
to/:entity/:id
and passing the JSON representation of the object as a parameter; that last part should not be needed.Proposed solution:
self.backend.futureForPath(path, method: .DELETE, parameters: entity.dictionaryValue)
with
self.backend.futureForPath(path, method: .DELETE, parameters: nil)
Reasoning:
:id
is enough for identifying the object that needs to be deleted.The text was updated successfully, but these errors were encountered: