You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
269 B

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