Remove unnecessary text field in query
This commit is contained in:
parent
6b840258c0
commit
1708c77458
@ -36,7 +36,6 @@ export function DiscussionForm ({
|
||||
mutation upsertDiscussion($sub: String, $id: ID, $title: String!, $text: String, $boost: Int, $forward: [ItemForwardInput], $hash: String, $hmac: String) {
|
||||
upsertDiscussion(sub: $sub, id: $id, title: $title, text: $text, boost: $boost, forward: $forward, hash: $hash, hmac: $hmac) {
|
||||
id
|
||||
text
|
||||
}
|
||||
}`
|
||||
)
|
||||
|
@ -47,7 +47,6 @@ export default function JobForm ({ item, sub }) {
|
||||
location: $location, remote: $remote, text: $text,
|
||||
url: $url, maxBid: $maxBid, status: $status, logo: $logo, hash: $hash, hmac: $hmac) {
|
||||
id
|
||||
text
|
||||
}
|
||||
}`
|
||||
)
|
||||
|
@ -73,7 +73,6 @@ export function LinkForm ({ item, sub, editThreshold, children }) {
|
||||
mutation upsertLink($sub: String, $id: ID, $title: String!, $url: String!, $text: String, $boost: Int, $forward: [ItemForwardInput], $hash: String, $hmac: String) {
|
||||
upsertLink(sub: $sub, id: $id, title: $title, url: $url, text: $text, boost: $boost, forward: $forward, hash: $hash, hmac: $hmac) {
|
||||
id
|
||||
text
|
||||
}
|
||||
}`
|
||||
)
|
||||
|
@ -27,7 +27,6 @@ export function PollForm ({ item, sub, editThreshold, children }) {
|
||||
upsertPoll(sub: $sub, id: $id, title: $title, text: $text,
|
||||
options: $options, boost: $boost, forward: $forward, hash: $hash, hmac: $hmac) {
|
||||
id
|
||||
text
|
||||
}
|
||||
}`
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user