Send ID with register and verify requests

This commit is contained in:
Finn 2020-12-12 02:55:38 -08:00
parent 5f435b488a
commit 7998e82017
3 changed files with 3 additions and 1 deletions

View file

@ -35,6 +35,7 @@ var registerCmd = &cobra.Command{
err := s.RawRequest(v0.LegacyRequest{
Type: "register",
Username: username,
ID: requestID,
})
if err != nil {
log.Fatal("error sending request: ", err)

View file

@ -40,6 +40,7 @@ var verify = &cobra.Command{
Type: "verify",
Username: username,
Code: code,
ID: requestID,
})
if err != nil {
log.Fatal("error sending request: ", err)