Fix: response is empty when edit resource.