openknowledge-archive / dpr-api

DEPRECATED - Data Package Registry API and Frontend
http://frictionlessdata.io/
MIT License
7 stars 6 forks source link

[publish][m] fix wrong authorization detection #291

Closed subhankarb closed 7 years ago

subhankarb commented 7 years ago

We were facing 400 unauthorized error while publishing datapackage. Package.is_package_exists was detection wrongly the exists. So we were trying for Package::Update authorization instead of Package::Create.

rufuspollock commented 7 years ago

@subhankarb please open issues for bug like this and then close with a PR - that is better than just having the PR.