коммит произвёл
GitHub
родитель
f290745496
Коммит
c3ed07e679
@@ -310,7 +310,7 @@ func (o *Post) ShallowCopy(dst *Post) error {
|
||||
dst.LastReplyAt = o.LastReplyAt
|
||||
dst.Metadata = o.Metadata
|
||||
if o.IsFollowing != nil {
|
||||
dst.IsFollowing = NewBool(*o.IsFollowing)
|
||||
dst.IsFollowing = NewPointer(*o.IsFollowing)
|
||||
}
|
||||
dst.RemoteId = o.RemoteId
|
||||
return nil
|
||||
@@ -507,7 +507,7 @@ func (o *Post) SanitizeProps() {
|
||||
// Remove any input data from the post object that is not user controlled
|
||||
func (o *Post) SanitizeInput() {
|
||||
o.DeleteAt = 0
|
||||
o.RemoteId = NewString("")
|
||||
o.RemoteId = NewPointer("")
|
||||
}
|
||||
|
||||
func (o *Post) ContainsIntegrationsReservedProps() []string {
|
||||
|
||||
Ссылка в новой задаче
Block a user