fix(#1024): Return "variables" as a string for Yup schema validation when there's an exception

This commit is contained in:
Nelu Platonov 2023-11-28 14:54:12 +01:00
parent 0e320535a8
commit 0fe657d0fc
No known key found for this signature in database
GPG Key ID: DC1D6718097E5B33

View File

@ -41,7 +41,7 @@ const parseGraphQL = (text) => {
} catch (e) {
return {
query: '',
variables: {}
variables: ''
};
}
};