Dave Shoreman c746954c03 Make sure Project ID is always included in POST (#1728)
* Make sure Project ID is always included in POST

Attempting to install a paid plugin through Artisan would return an 'authority not found' error, when the same would work fine when clicking "Update" in the backend.

This moves the code that adds the project ID into the applyHttpAttributes method to ensure it gets added for all post requests, and not just those that are actually requesting a file.

* Remove projectId from requestUpdateList method

After moving the other setter to the applyHttpAttributes method,
this one is no longer necessary as the apply method is called from
the closure inside $this->requestServerData.
2016-05-28 16:22:55 +10:00
..