fix(oauth): updates

This commit is contained in:
Alessandro De Blasis 2023-07-19 19:56:50 +00:00
parent c707cba22e
commit 2d7147442b
1 changed files with 1 additions and 1 deletions

View File

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