Skip to content

Commit

Permalink
Merge pull request ldej#2 from Yukuro/master
Browse files Browse the repository at this point in the history
Fix registerDid bug
  • Loading branch information
ldej authored Jun 7, 2021
2 parents 88274d5 + ad9d303 commit 82da231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registerdid.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func RegisterDID(ledgerURL string, alias string, seed string, role DIDRole) (Reg
if err != nil {
return RegisterDIDResponse{}, err
}
resp, err := http.Post(ledgerURL, "application/json", bytes.NewBuffer(body))
resp, err := http.Post(ledgerURL+"/register", "application/json", bytes.NewBuffer(body))
if err != nil {
return RegisterDIDResponse{}, err
}
Expand Down

0 comments on commit 82da231

Please sign in to comment.