Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(dg *Diago) Invite() InviteOptions not passing Username & Password #52

Open
arkadiam opened this issue Feb 27, 2025 · 0 comments
Open

Comments

@arkadiam
Copy link

Username and Password specified in: opts InviteOptions expected to be used in d.Invite() call.

diago/diago.go

Line 549 in c09ef4f

Headers: opts.Headers,

Code may look like:

if err := d.Invite(ctx, InviteClientOptions{
		Originator: opts.Originator,
		OnResponse: opts.OnResponse,
		Username:   opts.Username,
		Password:   opts.Password,
		Headers:    opts.Headers,
	}); err != nil {
		d.Close()
		return nil, err
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant