mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 08:41:33 +00:00
1b9cea0e0c
feat: help and support email in privacy policy
16 lines
409 B
Go
16 lines
409 B
Go
package admin
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
admin_pb "github.com/zitadel/zitadel/pkg/grpc/admin"
|
|
)
|
|
|
|
func UpdatePrivacyPolicyToDomain(req *admin_pb.UpdatePrivacyPolicyRequest) *domain.PrivacyPolicy {
|
|
return &domain.PrivacyPolicy{
|
|
TOSLink: req.TosLink,
|
|
PrivacyLink: req.PrivacyLink,
|
|
HelpLink: req.HelpLink,
|
|
SupportEmail: domain.EmailAddress(req.SupportEmail),
|
|
}
|
|
}
|