attempt to fix date header
All checks were successful
Build and Test / account (push) Successful in 6m42s

This commit is contained in:
red binder 2026-04-26 21:57:28 +02:00
commit 76064feeb2
4 changed files with 53 additions and 18 deletions

View file

@ -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()