mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 17:07:20 +08:00
Add endpoint to set server time
This commit is contained in:
@@ -31,7 +31,7 @@ pub fn shop(req: HttpRequest) -> HttpResponse {
|
||||
"shop_list": user["shop_list"].clone()
|
||||
}
|
||||
};
|
||||
global::send(resp)
|
||||
global::send(resp, req)
|
||||
}
|
||||
|
||||
pub fn buy(req: HttpRequest, body: String) -> HttpResponse {
|
||||
@@ -60,5 +60,5 @@ pub fn buy(req: HttpRequest, body: String) -> HttpResponse {
|
||||
}
|
||||
}
|
||||
};
|
||||
global::send(resp)
|
||||
global::send(resp, req)
|
||||
}
|
||||
|
Reference in New Issue
Block a user