mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-14 19:38:22 +00:00
Fix Missing Resource Type ID
This commit is contained in:
parent
e90a19a41d
commit
f5654f36df
1 changed files with 5 additions and 4 deletions
|
@ -47,10 +47,11 @@ func CreateResourceV5(ctx context.Context, c *api.Client, folderParentID, name,
|
|||
|
||||
// Resource Metadata
|
||||
meta := api.ResourceMetadataTypeV5Default{
|
||||
ObjectType: api.PASSBOLT_OBJECT_TYPE_RESOURCE_METADATA,
|
||||
Name: name,
|
||||
Username: username,
|
||||
URIs: []string{uri},
|
||||
ObjectType: api.PASSBOLT_OBJECT_TYPE_RESOURCE_METADATA,
|
||||
ResourceTypeID: rType.ID,
|
||||
Name: name,
|
||||
Username: username,
|
||||
URIs: []string{uri},
|
||||
}
|
||||
|
||||
metaData, err := json.Marshal(&meta)
|
||||
|
|
Loading…
Add table
Reference in a new issue