hotfix: switch to serde_json::Value to get rageshake working
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
TODO: switch to concrete datatype
This commit is contained in:
parent
a8b9892de4
commit
f02627f489
|
@ -74,7 +74,7 @@ struct Report {
|
||||||
async fn upload(
|
async fn upload(
|
||||||
_req: HttpRequest,
|
_req: HttpRequest,
|
||||||
ctx: AppCtx,
|
ctx: AppCtx,
|
||||||
payload: web::Json<Report>,
|
payload: web::Json<serde_json::Value>,
|
||||||
) -> Result<impl Responder, Error> {
|
) -> Result<impl Responder, Error> {
|
||||||
ctx.gitea.report(&payload).await;
|
ctx.gitea.report(&payload).await;
|
||||||
Ok(HttpResponse::Ok())
|
Ok(HttpResponse::Ok())
|
||||||
|
|
Reference in New Issue