# Move constraints to query parameters for \`GET /extensions/:extension_id/download\` \(\#10562\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f28fde5e58981c14ed06d54fcfbb5106b407415a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f28fde5e58981c14ed06d54fcfbb5106b407415a

Requested commit: f28fde5e58981c14ed06d54fcfbb5106b407415a

Commit: f28fde5e58981c14ed06d54fcfbb5106b407415a

Tree: c236d8aff6c28bf1e298923de2d7f48cd24cf0eb

Author: Marshall Bowers

Committer: GitHub

## Message

```
Move constraints to query parameters for `GET /extensions/:extension_id/download` (#10562)

This PR fixes a bug where the constraints provided when downloading the
latest version of an extension were not being read properly.

These constraints are passed in the query string, but `collab` was
attempting to read them from the path.

This should fix https://github.com/zed-industries/zed/issues/10484, once
it is deployed.


Release Notes:

- N/A
```

## Parents

- [d1928f084e91ccacafaf28eee1ccf5cfef99e6ff](https://git.cafe/gitcafe/zed/commit/d1928f084e91ccacafaf28eee1ccf5cfef99e6ff?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f28fde5e58981c14ed06d54fcfbb5106b407415a?format=markdown)
