Update route.ts (#9914)

It was sending two confirmation messages in case of an error

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
This commit is contained in:
Govind
2024-11-06 10:58:36 +01:00
committed by GitHub
co-authored by Adrien de Peretti
parent 37eeaa84a2
commit 4f4b0ddda2
@@ -60,6 +60,7 @@ export const POST = async (
type: error.type,
},
})
return;
}
const { data } = await query.graph({