Added code to check id document is passed as part of the params. This is done toprevent NullPointerException which results in sending null to the user.
Added code to check id document is passed as part of the params. This is done toprevent NullPointerException which results in sending null to the user.