Skip to content

Commit

Permalink
down_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IkkiOcean committed Nov 10, 2024
1 parent 6ce2d29 commit 1ca62b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/routes/rent/analyticsRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ const express = require('express');
const router = express.Router();
const Analytics = require('../../model/rent/Analytics');
const RentProduct = require('../../model/rent/rentProduct');
const { productPerformace, rentalInsights, rentalStats, topCustomers } = require('../../controllers/rent/AnalyticsController');
const { productPerformance, rentalInsights, rentalStats, topCustomers } = require('../../controllers/rent/AnalyticsController');


// Calculate total rentals, revenue, and rating for a product
router.get('/product-performance/:productId', productPerformace );
router.get('/product-performance/:productId', productPerformance );

// Fetch rental insights by user
router.get('/user-insights/:userId', rentalInsights);
Expand Down

0 comments on commit 1ca62b1

Please sign in to comment.