Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Tien Nguyen <duytien.nguyen@okta.com>
  • Loading branch information
duytiennguyen-okta committed Nov 5, 2024
1 parent 8b62db7 commit a22256b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion okta/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ func buildAppVisibility(d *schema.ResourceData) *sdk.ApplicationVisibility {
autoSubmit := d.Get("auto_submit_toolbar").(bool)
hideMobile := d.Get("hide_ios").(bool)
hideWeb := d.Get("hide_web").(bool)
autoLaunch := d.Get("auto_launch").(bool)
var autoLaunch bool
if _, ok := d.GetOk("auto_launch"); ok {
autoLaunch = d.Get("auto_launch").(bool)
}
appVis := &sdk.ApplicationVisibility{
AutoSubmitToolbar: &autoSubmit,
AutoLaunch: &autoLaunch,
Expand Down

0 comments on commit a22256b

Please sign in to comment.