Skip to content
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

feat: update user role in admin ui #1195

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

ryanhopperlowe
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe commented Jan 9, 2025

…lure

- refactor `request` method to use `handlePromise` instead of try/catch
- refactored `~/lib/utils` to a folder with barreled exports (for backwards compatibility)

files of note:
- `~/lib/utils/index.ts`
- `~/lib/service/api/primitives.ts`
…icitAdmin

- additionally updates the primitive request to optionally force an error for debugging
@ryanhopperlowe ryanhopperlowe merged commit 0085836 into obot-platform:main Jan 10, 2025
2 checks passed
@ryanhopperlowe ryanhopperlowe deleted the update-user-role branch January 10, 2025 16:41
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.

2 participants