Support new delphi response type

This commit is contained in:
Jai A
2025-01-16 16:40:13 -08:00
parent 227386bb0d
commit 5c8e7a8b38
5 changed files with 28 additions and 16 deletions

View File

@@ -160,7 +160,7 @@ pub struct NewOAuthApp {
}
#[post("app")]
pub async fn oauth_client_create<'a>(
pub async fn oauth_client_create(
req: HttpRequest,
new_oauth_app: web::Json<NewOAuthApp>,
pool: web::Data<PgPool>,
@@ -221,7 +221,7 @@ pub async fn oauth_client_create<'a>(
}
#[delete("app/{id}")]
pub async fn oauth_client_delete<'a>(
pub async fn oauth_client_delete(
req: HttpRequest,
client_id: web::Path<ApiOAuthClientId>,
pool: web::Data<PgPool>,