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">> = {
|
const newConfig: RequiredKeys<Omit<OAuth2Config, "id">> = {
|
||||||
name: body.name,
|
name: body.name,
|
||||||
url: body.url,
|
url: body.url,
|
||||||
clientId: ctx.clientId,
|
clientId: body.clientId,
|
||||||
clientSecret: ctx.clientSecret,
|
clientSecret: body.clientSecret,
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = await sdk.oauth2.create(newConfig)
|
const config = await sdk.oauth2.create(newConfig)
|
||||||
|
|
Loading…
Reference in New Issue