Skip to content

Commit

Permalink
Interim fix for phone-user disassociation (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
HemanthDogiparthi12 authored Jan 8, 2025
1 parent b3e91a9 commit 73b1c4f
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,9 @@ func updatePhone(ctx context.Context, d *schema.ResourceData, meta interface{})

webRtcUserId := d.Get("web_rtc_user_id")
if webRtcUserId != "" {
if d.HasChange("web_rtc_user_id") {
diagErr := assignUserToWebRtcPhone(ctx, pp, webRtcUserId.(string))
if diagErr != nil {
return diagErr
}
diagErr := assignUserToWebRtcPhone(ctx, pp, webRtcUserId.(string))
if diagErr != nil {
return diagErr
}
}

Expand Down

0 comments on commit 73b1c4f

Please sign in to comment.