attempt to fix date header
All checks were successful
Build and Test / account (push) Successful in 6m42s
All checks were successful
Build and Test / account (push) Successful in 6m42s
This commit is contained in:
parent
196bfbf203
commit
76064feeb2
4 changed files with 53 additions and 18 deletions
|
|
@ -117,7 +117,7 @@ async fn launch() -> _ {
|
|||
)
|
||||
.attach(AdHoc::on_response("org", |_, response| Box::pin(async move {
|
||||
//response.adjoin_header(Header::new("x-organization", "Nintendo"));
|
||||
response.adjoin_header(Header::new("x-nintendo-date", SystemTime::now()
|
||||
response.adjoin_header(Header::new("X-Nintendo-Date", SystemTime::now()
|
||||
.duration_since(UNIX_EPOCH)
|
||||
.unwrap()
|
||||
.as_millis()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue