mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
fix: correct title of profile creation page
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"golang.org/x/exp/rand"
|
||||
)
|
||||
|
||||
// Define the credential structure matching our frontend data
|
||||
@@ -76,3 +77,10 @@ func extractCredentialDescriptor(jsonString string) (*Credential, error) {
|
||||
)
|
||||
return cred, nil
|
||||
}
|
||||
|
||||
func randomCreateProfileData() CreateProfileData {
|
||||
return CreateProfileData{
|
||||
FirstNumber: rand.Intn(5) + 1,
|
||||
LastNumber: rand.Intn(4) + 1,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user