refactor: project name and set default plan for new user
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func (s *SubsAccs) Create(subsPlanId string) (string, error) {
|
||||
spec := &subscribedomain.Subscribe{
|
||||
ID: uuid.New(),
|
||||
ID: uuid.NewString(),
|
||||
SubscribePlanID: subsPlanId,
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ func (s *SubsAccs) Create(subsPlanId string) (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return spec.ID.String(), nil
|
||||
return spec.ID, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user