Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRA committed Feb 28, 2025
1 parent 749ace2 commit c03d33a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type { WithHref } from './helper.type.mjs'

const { join } = path.posix

// need to fix the makeUrl
export function makeObjectMapper<T extends XapiXoRecord>(req: Request, path = req.path) {
const makeUrl = ({ id }: T) => join(path, typeof id === 'number' ? String(id) : id)
let objectMapper: (object: T) => string | WithHref<Partial<T>> | WithHref<T>
Expand Down

0 comments on commit c03d33a

Please sign in to comment.