2022-03-24 16:21:34 +00:00
|
|
|
package instance
|
2022-02-16 15:49:17 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2022-04-26 23:01:45 +00:00
|
|
|
"github.com/zitadel/zitadel/internal/crypto"
|
|
|
|
"github.com/zitadel/zitadel/internal/eventstore"
|
2023-12-08 14:30:55 +00:00
|
|
|
"github.com/zitadel/zitadel/internal/zerrors"
|
2022-02-16 15:49:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2022-05-13 12:13:07 +00:00
|
|
|
smtpConfigPrefix = "smtp.config."
|
2024-09-12 04:27:29 +00:00
|
|
|
httpConfigPrefix = "http."
|
2022-03-24 16:21:34 +00:00
|
|
|
SMTPConfigAddedEventType = instanceEventTypePrefix + smtpConfigPrefix + "added"
|
|
|
|
SMTPConfigChangedEventType = instanceEventTypePrefix + smtpConfigPrefix + "changed"
|
|
|
|
SMTPConfigPasswordChangedEventType = instanceEventTypePrefix + smtpConfigPrefix + "password.changed"
|
2024-09-12 04:27:29 +00:00
|
|
|
SMTPConfigHTTPAddedEventType = instanceEventTypePrefix + smtpConfigPrefix + httpConfigPrefix + "added"
|
|
|
|
SMTPConfigHTTPChangedEventType = instanceEventTypePrefix + smtpConfigPrefix + httpConfigPrefix + "changed"
|
2022-06-10 10:39:38 +00:00
|
|
|
SMTPConfigRemovedEventType = instanceEventTypePrefix + smtpConfigPrefix + "removed"
|
2024-04-11 07:16:10 +00:00
|
|
|
SMTPConfigActivatedEventType = instanceEventTypePrefix + smtpConfigPrefix + "activated"
|
|
|
|
SMTPConfigDeactivatedEventType = instanceEventTypePrefix + smtpConfigPrefix + "deactivated"
|
2022-02-16 15:49:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type SMTPConfigAddedEvent struct {
|
2024-09-12 04:27:29 +00:00
|
|
|
*eventstore.BaseEvent `json:"-"`
|
2022-02-16 15:49:17 +00:00
|
|
|
|
2024-05-07 16:24:53 +00:00
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
SenderAddress string `json:"senderAddress,omitempty"`
|
|
|
|
SenderName string `json:"senderName,omitempty"`
|
|
|
|
ReplyToAddress string `json:"replyToAddress,omitempty"`
|
|
|
|
TLS bool `json:"tls,omitempty"`
|
|
|
|
Host string `json:"host,omitempty"`
|
|
|
|
User string `json:"user,omitempty"`
|
|
|
|
Password *crypto.CryptoValue `json:"password,omitempty"`
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigAddedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
2024-04-11 07:16:10 +00:00
|
|
|
id, description string,
|
2022-02-16 15:49:17 +00:00
|
|
|
tls bool,
|
|
|
|
senderAddress,
|
|
|
|
senderName,
|
2023-08-29 07:08:24 +00:00
|
|
|
replyToAddress,
|
2022-02-16 15:49:17 +00:00
|
|
|
host,
|
|
|
|
user string,
|
|
|
|
password *crypto.CryptoValue,
|
|
|
|
) *SMTPConfigAddedEvent {
|
|
|
|
return &SMTPConfigAddedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2022-02-16 15:49:17 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigAddedEventType,
|
|
|
|
),
|
2024-04-11 07:16:10 +00:00
|
|
|
ID: id,
|
|
|
|
Description: description,
|
2023-08-29 07:08:24 +00:00
|
|
|
TLS: tls,
|
|
|
|
SenderAddress: senderAddress,
|
|
|
|
SenderName: senderName,
|
|
|
|
ReplyToAddress: replyToAddress,
|
|
|
|
Host: host,
|
|
|
|
User: user,
|
|
|
|
Password: password,
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
}
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigAddedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
2022-02-16 15:49:17 +00:00
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigAddedEvent) Payload() interface{} {
|
2022-02-16 15:49:17 +00:00
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigAddedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
2022-02-16 15:49:17 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
type SMTPConfigChangedEvent struct {
|
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Description *string `json:"description,omitempty"`
|
|
|
|
FromAddress *string `json:"senderAddress,omitempty"`
|
|
|
|
FromName *string `json:"senderName,omitempty"`
|
|
|
|
ReplyToAddress *string `json:"replyToAddress,omitempty"`
|
|
|
|
TLS *bool `json:"tls,omitempty"`
|
|
|
|
Host *string `json:"host,omitempty"`
|
|
|
|
User *string `json:"user,omitempty"`
|
|
|
|
Password *crypto.CryptoValue `json:"password,omitempty"`
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigChangedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigChangedEvent) Payload() interface{} {
|
2022-02-16 15:49:17 +00:00
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigChangedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
2022-02-16 15:49:17 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigChangeEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
2024-04-11 07:16:10 +00:00
|
|
|
id string,
|
2022-02-16 15:49:17 +00:00
|
|
|
changes []SMTPConfigChanges,
|
|
|
|
) (*SMTPConfigChangedEvent, error) {
|
|
|
|
if len(changes) == 0 {
|
2023-12-08 14:30:55 +00:00
|
|
|
return nil, zerrors.ThrowPreconditionFailed(nil, "IAM-o0pWf", "Errors.NoChangesFound")
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
changeEvent := &SMTPConfigChangedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2022-02-16 15:49:17 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigChangedEventType,
|
|
|
|
),
|
2024-04-11 07:16:10 +00:00
|
|
|
ID: id,
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
for _, change := range changes {
|
|
|
|
change(changeEvent)
|
|
|
|
}
|
|
|
|
return changeEvent, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SMTPConfigChanges func(event *SMTPConfigChangedEvent)
|
|
|
|
|
2024-04-11 07:16:10 +00:00
|
|
|
func ChangeSMTPConfigID(id string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.ID = id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func ChangeSMTPConfigDescription(description string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.Description = &description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-16 15:49:17 +00:00
|
|
|
func ChangeSMTPConfigTLS(tls bool) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.TLS = &tls
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func ChangeSMTPConfigFromAddress(senderAddress string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.FromAddress = &senderAddress
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func ChangeSMTPConfigFromName(senderName string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.FromName = &senderName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-29 07:08:24 +00:00
|
|
|
func ChangeSMTPConfigReplyToAddress(replyToAddress string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.ReplyToAddress = &replyToAddress
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-16 15:49:17 +00:00
|
|
|
func ChangeSMTPConfigSMTPHost(smtpHost string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.Host = &smtpHost
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func ChangeSMTPConfigSMTPUser(smtpUser string) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.User = &smtpUser
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-11 07:16:10 +00:00
|
|
|
func ChangeSMTPConfigSMTPPassword(password *crypto.CryptoValue) func(event *SMTPConfigChangedEvent) {
|
|
|
|
return func(e *SMTPConfigChangedEvent) {
|
|
|
|
e.Password = password
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-16 15:49:17 +00:00
|
|
|
type SMTPConfigPasswordChangedEvent struct {
|
2024-09-12 04:27:29 +00:00
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Password *crypto.CryptoValue `json:"password,omitempty"`
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigPasswordChangedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
2024-04-11 07:16:10 +00:00
|
|
|
id string,
|
2022-02-16 15:49:17 +00:00
|
|
|
password *crypto.CryptoValue,
|
|
|
|
) *SMTPConfigPasswordChangedEvent {
|
|
|
|
return &SMTPConfigPasswordChangedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2022-02-16 15:49:17 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigPasswordChangedEventType,
|
|
|
|
),
|
|
|
|
Password: password,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigPasswordChangedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigPasswordChangedEvent) Payload() interface{} {
|
2022-02-16 15:49:17 +00:00
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigPasswordChangedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
2022-02-16 15:49:17 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
type SMTPConfigHTTPAddedEvent struct {
|
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
|
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigHTTPAddedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
|
|
|
id, description string,
|
|
|
|
endpoint string,
|
|
|
|
) *SMTPConfigHTTPAddedEvent {
|
|
|
|
return &SMTPConfigHTTPAddedEvent{
|
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigHTTPAddedEventType,
|
|
|
|
),
|
|
|
|
ID: id,
|
|
|
|
Description: description,
|
|
|
|
Endpoint: endpoint,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPAddedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPAddedEvent) Payload() interface{} {
|
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPAddedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SMTPConfigHTTPChangedEvent struct {
|
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Description *string `json:"description,omitempty"`
|
|
|
|
Endpoint *string `json:"endpoint,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPChangedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPChangedEvent) Payload() interface{} {
|
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigHTTPChangedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigHTTPChangeEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
|
|
|
id string,
|
|
|
|
changes []SMTPConfigHTTPChanges,
|
|
|
|
) (*SMTPConfigHTTPChangedEvent, error) {
|
|
|
|
if len(changes) == 0 {
|
|
|
|
return nil, zerrors.ThrowPreconditionFailed(nil, "IAM-o0pWf", "Errors.NoChangesFound")
|
|
|
|
}
|
|
|
|
changeEvent := &SMTPConfigHTTPChangedEvent{
|
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigHTTPChangedEventType,
|
|
|
|
),
|
|
|
|
ID: id,
|
|
|
|
}
|
|
|
|
for _, change := range changes {
|
|
|
|
change(changeEvent)
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
2024-09-12 04:27:29 +00:00
|
|
|
return changeEvent, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SMTPConfigHTTPChanges func(event *SMTPConfigHTTPChangedEvent)
|
|
|
|
|
|
|
|
func ChangeSMTPConfigHTTPID(id string) func(event *SMTPConfigHTTPChangedEvent) {
|
|
|
|
return func(e *SMTPConfigHTTPChangedEvent) {
|
|
|
|
e.ID = id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func ChangeSMTPConfigHTTPDescription(description string) func(event *SMTPConfigHTTPChangedEvent) {
|
|
|
|
return func(e *SMTPConfigHTTPChangedEvent) {
|
|
|
|
e.Description = &description
|
2022-02-16 15:49:17 +00:00
|
|
|
}
|
2024-09-12 04:27:29 +00:00
|
|
|
}
|
2022-02-16 15:49:17 +00:00
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func ChangeSMTPConfigHTTPEndpoint(endpoint string) func(event *SMTPConfigHTTPChangedEvent) {
|
|
|
|
return func(e *SMTPConfigHTTPChangedEvent) {
|
|
|
|
e.Endpoint = &endpoint
|
|
|
|
}
|
2024-04-11 07:16:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SMTPConfigActivatedEvent struct {
|
2024-09-12 04:27:29 +00:00
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
2024-04-11 07:16:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigActivatedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
|
|
|
id string,
|
|
|
|
) *SMTPConfigActivatedEvent {
|
|
|
|
return &SMTPConfigActivatedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2024-04-11 07:16:10 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigActivatedEventType,
|
|
|
|
),
|
|
|
|
ID: id,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigActivatedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
|
|
|
|
2024-04-11 07:16:10 +00:00
|
|
|
func (e *SMTPConfigActivatedEvent) Payload() interface{} {
|
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigActivatedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SMTPConfigDeactivatedEvent struct {
|
2024-09-12 04:27:29 +00:00
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
2024-04-11 07:16:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigDeactivatedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
|
|
|
id string,
|
|
|
|
) *SMTPConfigDeactivatedEvent {
|
|
|
|
return &SMTPConfigDeactivatedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2024-04-11 07:16:10 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigDeactivatedEventType,
|
|
|
|
),
|
|
|
|
ID: id,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigDeactivatedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
|
|
|
|
2024-04-11 07:16:10 +00:00
|
|
|
func (e *SMTPConfigDeactivatedEvent) Payload() interface{} {
|
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *SMTPConfigDeactivatedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-06-10 10:39:38 +00:00
|
|
|
type SMTPConfigRemovedEvent struct {
|
2024-09-12 04:27:29 +00:00
|
|
|
*eventstore.BaseEvent `json:"-"`
|
|
|
|
ID string `json:"id,omitempty"`
|
2022-06-10 10:39:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSMTPConfigRemovedEvent(
|
|
|
|
ctx context.Context,
|
|
|
|
aggregate *eventstore.Aggregate,
|
2024-04-11 07:16:10 +00:00
|
|
|
id string,
|
2022-06-10 10:39:38 +00:00
|
|
|
) *SMTPConfigRemovedEvent {
|
|
|
|
return &SMTPConfigRemovedEvent{
|
2024-09-12 04:27:29 +00:00
|
|
|
BaseEvent: eventstore.NewBaseEventForPush(
|
2022-06-10 10:39:38 +00:00
|
|
|
ctx,
|
|
|
|
aggregate,
|
|
|
|
SMTPConfigRemovedEventType,
|
|
|
|
),
|
2024-04-11 07:16:10 +00:00
|
|
|
ID: id,
|
2022-06-10 10:39:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-12 04:27:29 +00:00
|
|
|
func (e *SMTPConfigRemovedEvent) SetBaseEvent(event *eventstore.BaseEvent) {
|
|
|
|
e.BaseEvent = event
|
|
|
|
}
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigRemovedEvent) Payload() interface{} {
|
2022-06-10 10:39:38 +00:00
|
|
|
return e
|
|
|
|
}
|
|
|
|
|
2023-10-19 10:19:10 +00:00
|
|
|
func (e *SMTPConfigRemovedEvent) UniqueConstraints() []*eventstore.UniqueConstraint {
|
2022-06-10 10:39:38 +00:00
|
|
|
return nil
|
|
|
|
}
|