Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

23 righe
370 B

  1. import apollo from "../../lib/apollo.js";
  2. async function GetProduct(token="") {
  3. var res = await apollo.query(
  4. `
  5. query{
  6. products
  7. {
  8. name
  9. description
  10. img{
  11. id
  12. }
  13. }
  14. } `,
  15. token
  16. );
  17. return res;
  18. }
  19. module.exports = {
  20. GetProduct: GetProduct,
  21. };