Skip to content

Commit b9d9114

Browse files
Merge pull request #37 from StreetSupport/feature/3017-create-location-specific-content-management-system
3017 - Fix imports
2 parents 405679a + 1ac0aed commit b9d9114

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/middleware/authMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
import { asyncHandler } from '../utils/asyncHandler.js';
2020
import Accommodation from '../models/accommodationModel.js';
2121
import GroupedService from '../models/groupedServiceModel.js';
22-
import SwepBanner from 'models/swepModel.js';
22+
import SwepBanner from '../models/swepModel.js';
2323

2424
type PreValidatedBannerData = z.output<typeof BannerPreUploadApiSchema>;
2525
// Extend Request interface to include user

src/models/swepModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Schema, model } from 'mongoose';
22
import { ISwepBanner } from '../types/swep-banners/ISwepBanner.js';
3-
import { EmergencyContactSchema } from 'types/swep-banners/IEmergencyContact.js';
3+
import { EmergencyContactSchema } from '../types/swep-banners/IEmergencyContact.js';
44

55
// SWEP Banner Schema
66
export const SwepBannerSchema = new Schema<ISwepBanner>({

0 commit comments

Comments
 (0)