fix(oauth): updates

This commit is contained in:
Alessandro De Blasis 2023-07-19 19:56:50 +00:00
parent c707cba22e
commit 2d7147442b

View file

@ -113,7 +113,7 @@ func resourceOauth2AppUpcreate(d *schema.ResourceData, meta interface{}) (err er
if d.IsNewResource() { if d.IsNewResource() {
oauth2, _, err = client.CreateOauth2(opts) oauth2, _, err = client.CreateOauth2(opts)
} else { } else {
oauth2, err := searchOauth2AppByClientId(client, d.Id()) oauth2, err = searchOauth2AppByClientId(client, d.Id())
if err != nil { if err != nil {
return err return err