hotfix: switch to serde_json::Value to get rageshake working
ci/woodpecker/push/woodpecker Pipeline was successful Details

TODO: switch to concrete datatype
This commit is contained in:
Aravinth Manivannan 2022-08-18 18:24:28 +05:30
parent a8b9892de4
commit f02627f489
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ struct Report {
async fn upload(
_req: HttpRequest,
ctx: AppCtx,
payload: web::Json<Report>,
payload: web::Json<serde_json::Value>,
) -> Result<impl Responder, Error> {
ctx.gitea.report(&payload).await;
Ok(HttpResponse::Ok())