mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:17:35 +00:00
fix(api): use organization instead of organisation (#6720)
* fix(api): use organization instead of organisation * fix test * docs: add deprecation notice * remove validation
This commit is contained in:
12
pkg/grpc/user/v2beta/user_service_org.pb.zitadel.go
Normal file
12
pkg/grpc/user/v2beta/user_service_org.pb.zitadel.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package user
|
||||
|
||||
import "github.com/zitadel/zitadel/internal/api/grpc/server/middleware"
|
||||
|
||||
// OrganisationFromRequest implements deprecated [middleware.OrganisationFromRequest] interface.
|
||||
// it will be removed before going GA (https://github.com/zitadel/zitadel/issues/6718)
|
||||
func (r *AddHumanUserRequest) OrganisationFromRequest() *middleware.Organization {
|
||||
return &middleware.Organization{
|
||||
ID: r.GetOrganisation().GetOrgId(),
|
||||
Domain: r.GetOrganisation().GetOrgDomain(),
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user