app/server: add userservice to the service map (#20296)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8e12d81f16
Коммит
70610a9c96
@@ -93,6 +93,7 @@ const (
|
|||||||
ClusterKey ServiceKey = "cluster"
|
ClusterKey ServiceKey = "cluster"
|
||||||
PostKey ServiceKey = "post"
|
PostKey ServiceKey = "post"
|
||||||
TeamKey ServiceKey = "team"
|
TeamKey ServiceKey = "team"
|
||||||
|
UserKey ServiceKey = "user"
|
||||||
PermissionsKey ServiceKey = "permissions"
|
PermissionsKey ServiceKey = "permissions"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -393,6 +394,7 @@ func NewServer(options ...Option) (*Server, error) {
|
|||||||
FilestoreKey: s.filestore,
|
FilestoreKey: s.filestore,
|
||||||
ClusterKey: s.clusterWrapper,
|
ClusterKey: s.clusterWrapper,
|
||||||
TeamKey: s.teamService,
|
TeamKey: s.teamService,
|
||||||
|
UserKey: s.userService,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 8: Initialize products.
|
// Step 8: Initialize products.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user