Skip to content

Commit

Permalink
modified certificate/{id}
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq89 committed Dec 10, 2024
1 parent 3173284 commit 5db618f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/certificates/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface ICertificateConfigData {

export async function certificateHandler(request: Request, h: ResponseToolkit) {
if (request.params.id) {
const filePath = `${__dirname}/source/${request.params.id}.svg`
const filePath = `${__dirname}/source/${request.params.id}`
return h.file(filePath)
}
const certificateConfigs: ICertificateConfigData[] = [
Expand Down

0 comments on commit 5db618f

Please sign in to comment.