Files
heygermany-e2e-mrg1mo7z/packages/functions/src/functions/company/candidate.http.ts
e2e aae77ea31e
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled
chore: heygermany customer project
2026-07-11 09:28:50 +02:00

18 lines
417 B
TypeScript

import { wireHTTP } from '#pikku/pikku-types.gen.js'
import { isCompany } from '../../permissions.js'
import { getCompanyCandidates, getCompanyCandidate } from './candidate.function.js'
wireHTTP({
method: 'get',
route: '/company/candidate',
func: getCompanyCandidates,
permissions: {
isCompany
}
})
wireHTTP({
method: 'get',
route: '/company/candidate/:candidateId',
func: getCompanyCandidate
})