Skip to content

Commit 9c3948b

Browse files
committed
refactor(routes): remove unused interestRepository provider
- Remove the unused provider for DataRepository<Interest> - This change simplifies the middleware setup and removes unnecessary code
1 parent 2cf110b commit 9c3948b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routes/_middleware.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@ Handler middleware(Handler handler) {
134134
(_) => deps.pushNotificationDeviceRepository,
135135
),
136136
)
137-
.use(
138-
provider<DataRepository<Interest>>(
139-
(_) => deps.interestRepository,
140-
),
141-
)
142137
.use(
143138
provider<DataRepository<InAppNotification>>(
144139
(_) => deps.inAppNotificationRepository,

0 commit comments

Comments
 (0)