diff --git a/core/api_coupon.go b/core/api_coupon.go index 23b99b7..6869838 100644 --- a/core/api_coupon.go +++ b/core/api_coupon.go @@ -345,12 +345,6 @@ func useCoupon(mongoClient gocommon.MongoClient, w http.ResponseWriter, r *http. } } - if coupon.Expire < time.Now().Unix() { - // 쿠폰 만료시간 경과 - w.WriteHeader(http.StatusInternalServerError) - return - } - if len(coupon.Effect) == 0 { // 쿠폰이 없네? w.WriteHeader(http.StatusBadRequest)