|  | @@ -99,15 +99,13 @@ exports.getAll = handleError(async (req, res) => {
 | 
	
		
			
				|  |  |        where['jawaban.banding'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    } else if (cabutSanksi === 'true') {
 | 
	
		
			
				|  |  | -    where['pengajuan.cabut_sanksi'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  | +    where.perbaikan = { $exists: true, $ne: [] }
 | 
	
		
			
				|  |  |      if (jawaban === 'true') {
 | 
	
		
			
				|  |  | -      where['jawaban.cabut_sanksi'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  | +      where['pengajuan.cabut_sanksi'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  | +      // where['jawaban.cabut_sanksi'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    } else if (perbaikan === 'true') {
 | 
	
		
			
				|  |  | -    where.$or = [
 | 
	
		
			
				|  |  | -      { 'jawaban.cabut_sanksi': { $exists: true, $ne: null } },
 | 
	
		
			
				|  |  | -      { 'jawaban.banding': { $exists: true, $ne: null } },
 | 
	
		
			
				|  |  | -    ]
 | 
	
		
			
				|  |  | +    where['jawaban.banding'] = { $exists: true, $ne: null }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    const data = await cekBanyakDataSanksi(user, where)
 | 
	
		
			
				|  |  |    return response.success(res, {
 |