Fix storing

This commit is contained in:
Adria Navarro 2025-03-17 15:52:38 +01:00
parent 72c47d1b18
commit 0a9aef0473
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ export async function create(
const newConfig: RequiredKeys<Omit<OAuth2Config, "id">> = {
name: body.name,
url: body.url,
clientId: ctx.clientId,
clientSecret: ctx.clientSecret,
clientId: body.clientId,
clientSecret: body.clientSecret,
}
const config = await sdk.oauth2.create(newConfig)