code: @Override
      public Observable<ComapiResult<Map<String, Object>>> patchMyProfile(@NonNull Map<String, Object> profileDetails, String eTag) {
  
          final SessionData session = dataMgr.getSessionDAO().session();
          final String profileId = session != null ? session.getProfileId() : null;
  
          if (TextUtils.isEmpty(profileId)) {
              return Observable.error(getSessionStateErrorDescription());
          } else {
              return patchProfile(profileId, profileDetails, eTag);
          }
      }
docs: Applies profile patch for an active session.
  
  @param profileDetails Profile details.
  @param eTag           ETag for server to check if local version of the data is the same as the one the server side.
  @return Observable with to perform update profile for current session.