Skip to content

Commit

Permalink
fix: employee profile
Browse files Browse the repository at this point in the history
  • Loading branch information
bineenasc committed Dec 30, 2024
1 parent 72b676c commit 41bc250
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/src/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { createRouter } from 'aeria'
import { equipmentRouter } from './EquipmentsBorrowoedByUser.js'

export const router = createRouter()
router.group('/getEquipmentsBorrowoedByUser', equipmentRouter)

2 changes: 1 addition & 1 deletion web/src/pages/dashboard/equipmentRelease-[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const employeeProps = defineProps<Props>()
const employee = ref({} as CollectionItemWithId<'employee'>)
const equipments = ref<CollectionItemWithId<'equipmentRelease'>[]>([])
const { error, result } = await aeria().getEquipmentsBorrowedByUser()
const { error, result } = await aeria().equipmentRelease.
type Props = {
id: String
Expand Down

0 comments on commit 41bc250

Please sign in to comment.