Movatterモバイル変換


[0]ホーム

URL:


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

Commit52138f6

Browse files
committed
Replace now() by now when calculating date
1 parent5e46e6e commit52138f6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎packages/cisco_duo/data_stream/activity/agent/stream/cel.yml.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ program: |
4343
// prepare request data
4444
{
4545
// data should be calculated for each request to avoid error 40103
46-
"date": now().format(time_layout.RFC1123Z),
46+
"date": now.format(time_layout.RFC1123Z),
4747
"method": "GET",
4848
"url_base": state.url.trim_right("/"),
4949
"url_path": "/admin/v2/logs/activity",

‎packages/cisco_duo/data_stream/auth/agent/stream/cel.yml.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ program: |
4343
// prepare request data
4444
{
4545
// data should be calculated for each request to avoid error_code 40103.
46-
"date": now().format(time_layout.RFC1123Z),
46+
"date": now.format(time_layout.RFC1123Z),
4747
"method": "GET",
4848
"url_base": state.url.trim_right("/"),
4949
"url_path": "/admin/v2/logs/authentication",

‎packages/cisco_duo/data_stream/telephony_v2/agent/stream/cel.yml.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ program: |
4242
})).as(state, state.with(
4343
{
4444
// prepare request data dynamically for each request to prevent 40103 error.
45-
"date": now().format(time_layout.RFC1123Z),
45+
"date": now.format(time_layout.RFC1123Z),
4646
"method": "GET",
4747
"url_base": state.url.trim_right("/"),
4848
"url_path": "/admin/v2/logs/telephony",

‎packages/cisco_duo/data_stream/trust_monitor/agent/stream/cel.yml.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ program: |
4343
// prepare the data inside r.
4444
{
4545
// data should be calculated for each request to avoid error_code 40103.
46-
"date": now().format(time_layout.RFC1123Z),
46+
"date": now.format(time_layout.RFC1123Z),
4747
"method": "GET",
4848
"url_base": state.url.trim_right("/"),
4949
"url_path": "/admin/v1/trust_monitor/events",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp