Partially implement /api/user/detail

This commit is contained in:
Ethan O'Brien
2024-04-08 15:57:57 -05:00
parent 299e60e4d5
commit e13c9133b4
4 changed files with 79 additions and 2 deletions

View File

@@ -325,7 +325,7 @@ pub fn payment_ticket(req: HttpRequest) -> HttpResponse {
.insert_header(("Expires", "-1"))
.insert_header(("Pragma", "no-cache"))
.insert_header(("Cache-Control", "must-revalidate, no-cache, no-store, private"))
.insert_header(("Vary", "Authorization"))//AUAWGAPYYUGYYGA7
.insert_header(("Vary", "Authorization"))
.insert_header(("X-GREE-Authorization", gree_authorize(&req)))
.body(json::stringify(resp))
}