mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-31 09:59:18 +01:00
fix(#1024): Return "variables" as a string for Yup schema validation when there's an exception
This commit is contained in:
parent
0e320535a8
commit
0fe657d0fc
@ -41,7 +41,7 @@ const parseGraphQL = (text) => {
|
||||
} catch (e) {
|
||||
return {
|
||||
query: '',
|
||||
variables: {}
|
||||
variables: ''
|
||||
};
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user