mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-19 07:43:55 +02:00
- Added a new utility function `authedFetchWithError` to handle fetch requests with error checking. - Updated existing API calls in `organizations.ts`, `sites.ts`, and other files to utilize the new error handling function. - Refactored the `getUserOrganizations`, `addSite`, `deleteSite`, and other functions to enhance error management and response handling. - Adjusted the `getUserHasAccessToSite` function to support admin-only checks, improving authorization logic. - Modified the `AddMemberDialog` to set the default role to "admin" for new members, enhancing user management capabilities. |
||
---|---|---|
.. | ||
public | ||
src | ||
.dockerignore | ||
docker-entrypoint.sh | ||
Dockerfile | ||
drizzle.config.ts | ||
GeoLite2-City.mmdb | ||
package-lock.json | ||
package.json | ||
tsconfig.json |