Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url field is always empty even after inserting/upserting #187

Closed
StewartJingga opened this issue Nov 23, 2022 · 1 comment
Closed

url field is always empty even after inserting/upserting #187

StewartJingga opened this issue Nov 23, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@StewartJingga
Copy link
Contributor

StewartJingga commented Nov 23, 2022

Describe the bug
When upserting an asset via [PUT | PATCH] /v1beta1/assets and fetching it back via [GET] /v1beta1/assets/{urn}, the url field is always empty even when we already define it when upserting.

[PATCH] /v1beta1/assets

{
  "urn": "sample-urn",
  "url": "http://sample-url.com"
}

[GET] /v1beta1/assets/sample-urn

{
  "urn": "sample-urn"
}

To Reproduce
Steps to reproduce the behavior:

  1. Upsert an asset via [PUT | PATCH] /v1beta1/assets with filled url
  2. Fetch the same asset via [GET] /v1beta1/assets/{urn}
  3. See url is still empty

Expected behavior
url should be returned if it has been upserted.

@StewartJingga StewartJingga added bug Something isn't working help wanted Extra attention is needed labels Nov 23, 2022
@sudo-suhas sudo-suhas changed the title url and labels fields are always empty even after upserting them url field is always empty even after inserting/upserting Feb 21, 2023
@sudo-suhas
Copy link
Contributor

Closed via #209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants