Added a suite GUID

This commit is contained in:
Leon Mika 2026-02-28 09:49:43 +11:00
parent 30d99eeb9e
commit 329de2f953
11 changed files with 44 additions and 41 deletions

View file

@ -77,6 +77,7 @@ func (s *Service) FirstRun(ctx context.Context, req FirstRunRequest) (newUser mo
newSite = models.Site{
Title: defaultIfEmpty(req.SiteName, "New Site"),
GUID: models.NewNanoID(),
OwnerID: newUser.ID,
Created: time.Now(),
}