fix quoteId is undefined

This commit is contained in:
Chika 2021-01-28 15:56:35 +03:00
parent 3049ceec7b
commit 6269d2a741

View File

@ -74,6 +74,7 @@ export default async () => {
variables: {
quoteid,
},
toOptions: ['quote'],
}).then(async ({ entities: { quote: new_quote } }) => {
console.log('quote', new_quote);
if (!Array.isArray(new_quote)) {