add: stripe integration

This commit is contained in:
trisua 2025-05-05 19:38:01 -04:00
parent 2fa5a4dc1f
commit 1d120555a0
31 changed files with 1137 additions and 122 deletions

View file

@ -247,7 +247,7 @@ pub async fn update_user_role_request(
None => return Json(Error::NotAllowed.into()),
};
match data.update_user_role(id, req.role, user).await {
match data.update_user_role(id, req.role, user, false).await {
Ok(_) => Json(ApiReturn {
ok: true,
message: "User updated".to_string(),