Update deps, refactoring

This commit is contained in:
2023-11-01 12:53:43 +03:00
parent 7cd4d4097a
commit e652abb4bd
24 changed files with 540 additions and 238 deletions

View File

@@ -85,7 +85,7 @@ func (s *Service) AddPage(ctx context.Context, req openapi.OptAddPageReq, params
return nil, fmt.Errorf("save page: %w", err)
}
res := PageToRest(page)
res := BasePageToRest(&page.PageBase)
s.ch <- page