[bug]: Plane API: expand query parameter does not work with "updated_by" on "projects"
Open
Nobody has claimed this yet.
🐛bug
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When I fetch all projects with
fetch('https://api.plane.so/api/v1/workspaces/{slug}/projects/', {
query: { expand: "created_by,updated_by,project_lead" },
})
All is working good except for "updated_by".
Here is an extract of the result:
As you can see, "created_by" expands well but not "udapted_by".
Steps to reproduce
- Create a fetch query with property expand: "created_by,updated_by,project_lead"
- Fetch all projects with the query
- You cannot get "updated_by" to be expanded
Environment
Production
Browser
None
Variant
Self-hosted
Version
v0.19.0-dev
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.