Browse Source

Reverted same changes.

pull/315/head
Sebastian Stehle 8 years ago
parent
commit
1a6e8c4e8b
  1. 5
      extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchActionHandler.cs

5
extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchActionHandler.cs

@ -46,8 +46,6 @@ namespace Squidex.Extensions.Actions.ElasticSearch
var ruleJob = new ElasticSearchJob var ruleJob = new ElasticSearchJob
{ {
Host = action.Host.ToString(), Host = action.Host.ToString(),
Username = action.Username,
Password = action.Password,
ContentId = contentId, ContentId = contentId,
IndexName = Format(action.IndexName, @event), IndexName = Format(action.IndexName, @event),
IndexType = Format(action.IndexType, @event) IndexType = Format(action.IndexType, @event)
@ -66,6 +64,9 @@ namespace Squidex.Extensions.Actions.ElasticSearch
ruleJob.Content["objectID"] = contentId; ruleJob.Content["objectID"] = contentId;
} }
ruleJob.Username = action.Username;
ruleJob.Password = action.Password;
return (ruleDescription, ruleJob); return (ruleDescription, ruleJob);
} }

Loading…
Cancel
Save