Skip to content

Commit 42a145e

Browse files
author
Lasim
committed
fix(backend): correct casing in email service imports and routes
1 parent 6563ad1 commit 42a145e

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

services/backend/src/email/example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
import type { FastifyBaseLogger } from 'fastify';
9-
import { EmailService } from './emailservice';
9+
import { EmailService } from './emailService';
1010

1111
/**
1212
* Example: Send a welcome email to a new user
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Email system exports
2-
export { EmailService } from './emailservice';
2+
export { EmailService } from './emailService';
33
export { TemplateRenderer } from './templateRenderer';
44
export * from './types';
55

66
// Re-export for convenience
7-
import { EmailService } from './emailservice';
7+
import { EmailService } from './emailService';
88
export default EmailService;

services/backend/src/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import { registerRoutes } from './routes'
1111
import { PluginManager } from './plugin-system'
1212
import { authHook } from './hooks/authHook' // Import the auth hook
1313
import registerEmailRoute from './routes/auth/registerEmail'
14-
import loginEmailRoute from './routes/auth/loginemail'
14+
import loginEmailRoute from './routes/auth/loginEmail'
1515
import githubAuthRoutes from './routes/auth/github'
1616
import logoutRoute from './routes/auth/logout'
1717
import changePasswordRoute from './routes/auth/changePassword'
1818
import updateProfileRoute from './routes/auth/updateProfile'
1919
import verifyEmailRoute from './routes/auth/verifyEmail'
2020
import resendVerificationRoute from './routes/auth/resendVerification'
2121
import forgotPasswordRoute from './routes/auth/forgotPassword'
22-
import resetPasswordRoute from './routes/auth/resetpassword'
23-
import adminResetPasswordRoute from './routes/auth/adminresetpassword'
22+
import resetPasswordRoute from './routes/auth/resetPassword'
23+
import adminResetPasswordRoute from './routes/auth/adminResetPassword'
2424
import githubStatusRoute from './routes/auth/githubStatus'
2525
import {
2626
initializeDatabase,

services/backend/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"strict": true,
99
"skipLibCheck": true,
1010
"esModuleInterop": true,
11-
"allowSyntheticDefaultImports": true,
1211
"resolveJsonModule": true,
1312
"forceConsistentCasingInFileNames": true,
1413
"baseUrl": ".",

0 commit comments

Comments
 (0)