anchor.diff:              {ok, #document{
                   value = #onedata_group{
                       name = GroupName
  -                }
  -            }} = group_logic:get(UserAuth, ParentGroupId),
  +                }}} = group_logic:get(UserAuth, ParentGroupId),
               {ok, [{<<"groupName">>, GroupName}]};
           {error, _} ->
               gui_error:report_error(
  
positive.code:     UserAuth = op_gui_utils:get_user_rest_auth(),
      case group_logic:get_invite_user_token(UserAuth, GroupId) of
          {ok, Token} ->
              {ok, Token};
          {error, _} ->
              gui_error:report_error(
                  <<"Cannot get invite group token due to unknown error.">>)
  
negative.code:     UserAuth = op_gui_utils:get_user_rest_auth(),
      case space_logic:get_invite_provider_token(UserAuth, SpaceId) of
          {ok, Token} ->
              {ok, [{<<"token">>, Token}]};
          {error, _} ->
              gui_error:report_error(
                  <<"Cannot get invite provider token due to unknown error.">>)
  