Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.springframework.stereotype.Service;
import org.springframework.web.client.HttpClientErrorException;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
Expand Down Expand Up @@ -79,8 +78,7 @@ public String generateOTP(String request) throws FHIRException {

String ndhmAuthToken = generateSession_NDHM.getNDHMAuthToken();
Map<String, String> responseMap = new HashMap<String, String>();
ObjectMapper objectMapper = new ObjectMapper();
SendOTPForCard obj = objectMapper.convertValue(request, SendOTPForCard.class);
SendOTPForCard obj = InputMapper.gson().fromJson(request, SendOTPForCard.class);

Map<String, Object> requestMap = null;
requestMap = new HashMap<String, Object>();
Expand Down
Loading