exports.delete = function *(hid) {
  const id = +hashids.decode(hid)
  if (!isFinite(id)) return false
  const ad = yield models.promotions.findOne({ where: { id: id } })
  return yield ad.destroy()