Skip to content

Commit 0129b1c

Browse files
committed
fix: Fix remove return type.
1 parent c6dbcc8 commit 0129b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/introspection/getSchemaFromData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default (data) => {
149149
args: nullableTypeFields,
150150
};
151151
fields[`remove${type.name}`] = {
152-
type: GraphQLBoolean,
152+
type: typesByName[type.name],
153153
args: {
154154
id: { type: new GraphQLNonNull(GraphQLID) },
155155
},

0 commit comments

Comments
 (0)