fix decrypt password
This commit is contained in:
@@ -28,7 +28,7 @@ public class DeleteLokasiService implements BaseService<LokasiRequest, EmptyResp
|
||||
.orElseThrow(() -> new BusinessException(HttpStatus.CONFLICT,
|
||||
Constants.ERR_CODE_10001,
|
||||
Constants.ERR_TTL_10001,
|
||||
String.format(Constants.ERR_MSG_10001, input.getId())));
|
||||
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId())));
|
||||
|
||||
lokasi.setIsDelete(true);
|
||||
lokasiRepository.save(lokasi);
|
||||
|
@@ -26,7 +26,7 @@ public class GetLokasiByIdService implements BaseService<LokasiRequest, LokasiRe
|
||||
throw new BusinessException(HttpStatus.CONFLICT,
|
||||
Constants.ERR_CODE_10001,
|
||||
Constants.ERR_TTL_10001,
|
||||
String.format(Constants.ERR_MSG_10001, input.getId()));
|
||||
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId()));
|
||||
}
|
||||
|
||||
lokasiResponse.setLokasi(lokasiView.get().getLokasi());
|
||||
|
@@ -29,7 +29,7 @@ public class PostCreateLokasiService implements BaseService<LokasiRequest, Lokas
|
||||
throw new BusinessException(HttpStatus.CONFLICT,
|
||||
Constants.ERR_CODE_10002,
|
||||
Constants.ERR_TTL_10002,
|
||||
String.format(Constants.ERR_MSG_10002, input.getLokasi()));
|
||||
String.format(Constants.ERR_MSG_10002, "Lokasi", input.getLokasi()));
|
||||
}
|
||||
|
||||
Lokasi lokasi = Lokasi.builder()
|
||||
|
@@ -30,7 +30,7 @@ public class PutUpdateLokasiService implements BaseService<LokasiRequest, Lokasi
|
||||
.orElseThrow(() -> new BusinessException(HttpStatus.CONFLICT,
|
||||
Constants.ERR_CODE_10001,
|
||||
Constants.ERR_TTL_10001,
|
||||
String.format(Constants.ERR_MSG_10001, input.getId())));
|
||||
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId())));
|
||||
|
||||
lokasi.setLokasi(input.getLokasi());
|
||||
lokasi.setKeterangan(input.getKeterangan());
|
||||
|
Reference in New Issue
Block a user