diff options
Diffstat (limited to 'lib/dashboard/service.ts')
| -rw-r--r-- | lib/dashboard/service.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dashboard/service.ts b/lib/dashboard/service.ts index 16b05d45..569ff9cd 100644 --- a/lib/dashboard/service.ts +++ b/lib/dashboard/service.ts @@ -127,6 +127,16 @@ export async function getUserDashboardData(domain: string): Promise<UserDashboar } } + +export async function refreshDashboardData(department: string = "engineering") { + try { + return await getDashboardData(department); + } catch (error) { + console.error("Dashboard refresh error:", error); + throw error; + } +} + // 전체 대시보드 데이터 조회 (팀 + 개인) export async function getDashboardData(domain: string): Promise<DashboardData> { try { |
