mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-10 01:48:22 +00:00
Merge pull request #18 from passbolt/fix-create-resource-type
Fix Create Resource Type ID
This commit is contained in:
commit
a9bd51e5da
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