chore: add get workspace profile api

This commit is contained in:
Steven
2023-09-21 08:39:39 +08:00
parent 271c133913
commit 58cb5c7e2e
7 changed files with 552 additions and 132 deletions

View File

@ -31,7 +31,7 @@ func NewAPIV2Service(secret string, profile *profile.Profile, store *store.Store
authProvider.AuthenticationInterceptor,
),
)
apiv2pb.RegisterWorkspaceServiceServer(grpcServer, NewWorkspaceService(store))
apiv2pb.RegisterWorkspaceServiceServer(grpcServer, NewWorkspaceService(profile, store))
apiv2pb.RegisterUserServiceServer(grpcServer, NewUserService(secret, store))
apiv2pb.RegisterUserSettingServiceServer(grpcServer, NewUserSettingService(store))
apiv2pb.RegisterShortcutServiceServer(grpcServer, NewShortcutService(secret, store))