anchor.diff:      Seconds = seconds(Hours, Minutes),
       BinDate = list_to_binary(Date),
       case lists:keyfind(BinDate, 1, WorkLogs) of
  -        {BinDate, WL = #{timeSpentSeconds := TimeSpent,
  -                         active           := true}} ->
  +        {BinDate, WL = #{timeSpentSeconds := TimeSpent}} ->
               case TimeSpent >= Seconds of
                   true ->
                       calcWorkToLog(Rest, WorkLogs,
  
positive.code:             Result      = httpRequest(BAuth, get, FullUrl),
              MapRes      = jsx:decode(Result, [return_maps]),
              WorkLogs    = maps:get(<<"worklogs">>, MapRes, []),
              WorkLogs2   = filterWorkLogs(WorkLogs),
              LoggedWork  = ePluginInterface:getAllLoggedWorkDate(ETodo#etodo.uid),
              LoggedWork2 = calcWorkToLog(LoggedWork, WorkLogs2),
  
  
negative.code:     BAuth           = "Basic " ++ base64:encode_to_string(UserPwd),
  
      wx:set_env(WX),
      #state{frame      = Frame,
             jiraUser   = list_to_binary(User),
             jiraUrl    = Url,
             jiraSearch = SearchCfg,
             bauth      = BAuth}.
  
  %%--------------------------------------------------------------------
  %% @doc
  