Skip to content

Commit

Permalink
Merge pull request #32 from superfly/flaps-authn
Browse files Browse the repository at this point in the history
flyio/machinesapi: use correct path
  • Loading branch information
btoews authored Aug 20, 2024
2 parents 909573e + 61a02aa commit fab30a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyio/machinesapi/machinesapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (v *Client) Verify(ctx context.Context, dissByPerm map[bundle.Macaroon][]bu
reqBody := verifyRequest{Header: bundle.String(allMacs...)}
respBody := make([]*verifyResult, 0, len(dissByPerm))

if err := v.post(ctx, authorizePath, &reqBody, &respBody); err != nil {
if err := v.post(ctx, authenticatePath, &reqBody, &respBody); err != nil {
ret := make(map[bundle.Macaroon]bundle.VerificationResult, len(dissByPerm))

for perm := range dissByPerm {
Expand Down

0 comments on commit fab30a6

Please sign in to comment.