fix(api-keys): normalize legacy scope metadata

This commit is contained in:
saltbo
2026-07-23 01:50:22 -04:00
parent 387c731b3b
commit a83c3ac5a7
4 changed files with 41 additions and 14 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ func (c *Client) createMatter(
onConflict := openapi.CreateObjectJSONBodyOnConflictRename
res, err := c.api.CreateObjectWithResponse(ctx, openapi.CreateObjectJSONRequestBody{
Name: name,
Type: contentType,
Type: &contentType,
Size: &sizeInt,
Parent: &parent,
Dirtype: &dirtype,
+1 -1
View File
@@ -3708,7 +3708,7 @@ type CreateObjectJSONBody struct {
Parent *string `json:"parent,omitempty"`
Size *int `json:"size,omitempty"`
StorageId *string `json:"storageId,omitempty"`
Type string `json:"type"`
Type *string `json:"type,omitempty"`
}
// CreateObjectJSONBodyOnConflict defines parameters for CreateObject.