This commit is contained in:
Ethan O'Brien
2024-05-24 12:52:48 -05:00
parent 8d301c827d
commit 1e9d0236be
5 changed files with 15 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ use json::{object, JsonValue};
use actix_web::{HttpRequest};
pub fn purchase(req: HttpRequest) -> Option<JsonValue> {
pub fn purchase(_req: HttpRequest) -> Option<JsonValue> {
Some(object!{
"product_list": [//Client will error if this is an empty array
{