mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add system service (#2083)
* feat: add system service * chore: update
This commit is contained in:
@ -82,10 +82,6 @@ func (s *APIV1Service) registerSystemRoutes(g *echo.Group) {
|
||||
}
|
||||
if hostUser != nil {
|
||||
systemStatus.Host = &User{ID: hostUser.ID}
|
||||
// data desensitize
|
||||
systemStatus.Host.OpenID = ""
|
||||
systemStatus.Host.Email = ""
|
||||
systemStatus.Host.AvatarURL = ""
|
||||
}
|
||||
|
||||
systemSettingList, err := s.Store.ListSystemSettings(ctx, &store.FindSystemSetting{})
|
||||
|
Reference in New Issue
Block a user