Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit ef306d8

Browse files
fix bug with index selection
1 parent 35f998a commit ef306d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎main.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
foreach ($records as $record) {
239239
// Attempt to index the record
240240
$response = $client->index([
241-
'index' => 'dmarc-'.date('Y.m.d', $record['begin_timestamp'] / 1000),
241+
'index' => 'dmarc-'.date('Y.m.d', $record['end_timestamp'] / 1000),
242242
'type' => 'doc',
243243
'body' => $record
244244
]);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /