Skip to content

Commit

Permalink
Merge branch 'develop' into fix/article-cover-upload-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml authored Sep 2, 2024
2 parents 29f6e9f + 618c444 commit f6c0700
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/MomentDetail/Edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { CLEAR_MOMENT_FORM, MAX_MOMENT_CONTENT_LENGTH } from '~/common/enums'
import {
formStorage,
parseFormSubmitErrors,
sanitizeContent,
stripHtml,
toPath,
} from '~/common/utils'
Expand Down Expand Up @@ -84,7 +85,7 @@ const Edit = () => {
const { data } = await putMoment({
variables: {
input: {
content,
content: sanitizeContent(content),
assets: assets.map(({ assetId }) => assetId),
},
},
Expand Down

0 comments on commit f6c0700

Please sign in to comment.