packetCQG.js 347 Bytes
Newer Older
Giang Tran committed
1 2 3 4 5 6 7 8
import {PostLogin, GetData, PostData} from '../helpers';

import url from '../url';

export const getListPacketCQG = async (body) =>
  GetData(url.urlGetListPacketCQG, body)
    .then((res) => res)
    .catch((err) => err);
Giang Tran committed
9 10 11 12 13

export const openCQG = async (body) =>
  PostData(url.urlOpenCQG, body)
    .then((res) => res)
    .catch((err) => err);