mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-03 12:39:34 +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) {
|
} catch (e) {
|
||||||
return {
|
return {
|
||||||
query: '',
|
query: '',
|
||||||
variables: {}
|
variables: ''
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user