mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-21 04:59:47 +08:00
fix(api-keys): normalize legacy scope metadata
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user