Silverhill / coupon-backend

MIT License
0 stars 0 forks source link

Add couponsByHunter query #122

Closed JhymerMartinez closed 6 years ago

JhymerMartinez commented 6 years ago

Resolve: https://github.com/Silverhill/coupon-backend/issues/110

Query example:

{
  couponsByHunter(hunterId: "5af6da161b42fb6005443646") {
    ...on CouponForMaker {
      id
      code
      status
      updatedAt
      campaign {
        id
        title
      }
    }
  }
}