do not publish content and original html in the queue
This commit is contained in:
@ -623,7 +623,7 @@ export const searchResolver = authorized<
|
||||
size: first + 1, // fetch one more item to get next cursor
|
||||
sort: searchQuery.sort,
|
||||
includePending: true,
|
||||
includeContent: params.includeContent || false,
|
||||
includeContent: !!params.includeContent,
|
||||
...searchQuery,
|
||||
},
|
||||
uid
|
||||
|
||||
@ -543,8 +543,7 @@ const schema = gql`
|
||||
title: String!
|
||||
byline: String
|
||||
dir: String
|
||||
# max length of 10MB
|
||||
content: String! @sanitize(maxLength: 10485760)
|
||||
content: String!
|
||||
textContent: String!
|
||||
length: Int!
|
||||
excerpt: String!
|
||||
@ -560,8 +559,7 @@ const schema = gql`
|
||||
source: String!
|
||||
clientRequestId: ID!
|
||||
title: String
|
||||
# max length of 10MB
|
||||
originalContent: String! @sanitize(maxLength: 10485760)
|
||||
originalContent: String!
|
||||
parseResult: ParseResult
|
||||
state: ArticleSavingRequestStatus
|
||||
labels: [CreateLabelInput!]
|
||||
|
||||
Reference in New Issue
Block a user