Skip to content

chore: expose recreate credentials route to admins #2045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2025

Conversation

g-linville
Copy link
Member

@g-linville g-linville commented Mar 11, 2025

for #1997

depends on gptscript-ai/gptscript#951 (merged)

depends on gptscript-ai/go-gptscript#95 (merged)

Comment on lines 56 to 61
err := req.GPTClient.RecreateAllCredentials(req.Context())
if err != nil {
return err
}

return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

micro-nit:

Suggested change
err := req.GPTClient.RecreateAllCredentials(req.Context())
if err != nil {
return err
}
return nil
return req.GPTClient.RecreateAllCredentials(req.Context())

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just gonna blame AI for this one lol

Signed-off-by: Grant Linville <[email protected]>
@g-linville g-linville enabled auto-merge (squash) March 14, 2025 15:27
@g-linville g-linville merged commit 35761b2 into obot-platform:main Mar 14, 2025
2 checks passed
@g-linville g-linville deleted the recreate-credentials branch March 14, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants