fix: update articles unpublish
This commit is contained in:
parent
08820dbee5
commit
868b9fed0b
|
|
@ -1316,6 +1316,7 @@ func (_i *articlesService) Unpublish(clientId *uuid.UUID, articleId uint, authTo
|
|||
|
||||
article.IsPublish = &isPublishFalse
|
||||
article.PublishedAt = nil
|
||||
article.PublishSchedule = nil
|
||||
article.IsDraft = &isDraftTrue
|
||||
article.DraftedAt = &draftedAt
|
||||
article.StatusId = &statusIdOne
|
||||
|
|
|
|||
Loading…
Reference in New Issue