mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: remove configured marker when deleting oauth provider configuration (#7887)
Signed-off-by: sheikhlimon <sheikhlimon404@gmail.com>
This commit is contained in:
@@ -213,6 +213,12 @@ export default function ProviderConfigurationModal({
|
||||
for (const param of params) {
|
||||
await remove(param.name, param.secret);
|
||||
}
|
||||
|
||||
const hasOAuthKey = params.some((key) => key.oauth_flow);
|
||||
if (hasOAuthKey) {
|
||||
const configuredMarker = `${provider.name}_configured`;
|
||||
await remove(configuredMarker, false);
|
||||
}
|
||||
}
|
||||
|
||||
onClose();
|
||||
|
||||
Reference in New Issue
Block a user