mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 14:05:43 +08:00
Correct fragment names
This commit is contained in:
@@ -115,8 +115,7 @@ export function getResponseErrors(mutationResult) {
|
||||
|
||||
export function createDefaultResponseFragments(...names) {
|
||||
const result = {};
|
||||
names.forEach((name) => {
|
||||
const response = `${name}Response`;
|
||||
names.forEach((response) => {
|
||||
result[response] = gql`
|
||||
fragment Coral_${response} on ${response} {
|
||||
errors {
|
||||
|
||||
Reference in New Issue
Block a user