Fix Create Resource Type ID

Fix determining the id for the resource type password-and-description.
This commit is contained in:
Samuel Lorch 2023-08-10 20:25:19 +02:00 committed by GitHub
parent e4537a8ca0
commit ce38d65e45
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 {