mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
do not publish content and original html in the queue
This commit is contained in:
parent
e673db423b
commit
79a647deb4
2 changed files with 3 additions and 5 deletions
|
|
@ -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!]
|
||||
|
|
|
|||
Loading…
Reference in a new issue