Improve service listings and fix user association errors in the system
Fixes service type lookup and userId association for professional services. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c5f0c281-8dd8-4846-b452-4a07bcd21062 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/c7f781e6-1a7d-4e21-8939-c74aab1e3cd7.jpg
This commit is contained in:
@@ -318,6 +318,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
);
|
||||
res.json(services);
|
||||
} catch (error) {
|
||||
console.error('Professional services error:', error);
|
||||
res.status(500).json({ error: 'Failed to fetch professional services' });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user