Fix storing
This commit is contained in:
parent
72c47d1b18
commit
0a9aef0473
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue