Skip to content

Commit

Permalink
feat : update services/statics.service.js (#83)
Browse files Browse the repository at this point in the history
Daily Revenue API 추가
  • Loading branch information
JungYeonHwi committed Oct 17, 2023
1 parent e5171bf commit b655029
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion services/statistics.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ const getDailyProfit = async(id) => {
}
}

const getDailyRevenue = async(id) => {
try {
const data = await statisticsApi.getDailyRevenue(id);
return data;
} catch (error) {
throw error;
}
}

const statisticsService = {
getDailyProfit
getDailyProfit,
getDailyRevenue
}

export default statisticsService;

0 comments on commit b655029

Please sign in to comment.