mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-10 01:48:22 +00:00
Fix Create Resource Type ID
Fix determining the id for the resource type password-and-description.
This commit is contained in:
parent
e4537a8ca0
commit
ce38d65e45
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ func CreateResource(ctx context.Context, c *api.Client, folderParentID, name, us
|
||||||
for _, tmp := range types {
|
for _, tmp := range types {
|
||||||
if tmp.Slug == "password-and-description" {
|
if tmp.Slug == "password-and-description" {
|
||||||
rType = &tmp
|
rType = &tmp
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if rType == nil {
|
if rType == nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue