-
Notifications
You must be signed in to change notification settings - Fork 952
Open
Labels
needs-triageIssue that require triageIssue that require triage
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I'm trying to update the default_ttl_ms of the templates in coder throuch PATCH request using /api/v2/templates/{template_id}. The value for default_ttl_ms is updating as expected; however, I noticed that the icon is being removed from the template.
Relevant Log Output
Expected Behavior
No response
Steps to Reproduce
- Make sure atleast one template has an icon. Make a GET call to /api/v2/templates view all the templates metadata. there should be a value for the icon field
- Make a patch request using /api/v2/templates/{template_id} with the body {
"default_ttl_ms": XXXX} - make a GET all again to view the template metadata and see the icon field empty.
Environment
- Host OS:
- Coder version: V2
Additional Context
No response
Metadata
Metadata
Assignees
Labels
needs-triageIssue that require triageIssue that require triage