Merge pull request #18 from passbolt/fix-create-resource-type

Fix Create Resource Type ID
This commit is contained in:
Samuel Lorch 2023-08-10 20:31:41 +02:00 committed by GitHub
commit a9bd51e5da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ func CreateResource(ctx context.Context, c *api.Client, folderParentID, name, us
for _, tmp := range types {
if tmp.Slug == "password-and-description" {
rType = &tmp
break
}
}
if rType == nil {