rybbit/server/src
Bill Yang 8fcfb58dc3 Implement authedFetchWithError for improved error handling in API requests
- 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.
2025-04-26 09:19:01 -07:00
..
api Implement authedFetchWithError for improved error handling in API requests 2025-04-26 09:19:01 -07:00
cron Refactor analytics queries to use 'events' table instead of 'pageviews' 2025-04-17 22:27:03 -07:00
db Add member functionality and organization management enhancements 2025-04-26 00:00:51 -07:00
lib Implement authedFetchWithError for improved error handling in API requests 2025-04-26 09:19:01 -07:00
tracker Enhance Tailwind configuration and update styles for data visualization 2025-04-22 22:55:56 -07:00
index.ts Add member functionality and organization management enhancements 2025-04-26 00:00:51 -07:00
types.ts Add site_id 2025-02-16 20:04:55 -08:00
utils.ts Add user ID salting feature and update site settings 2025-04-22 20:37:54 -07:00