Skip to content

Commit

Permalink
fix intermediary
Browse files Browse the repository at this point in the history
  • Loading branch information
smalho01 committed Sep 25, 2024
1 parent 65afe75 commit f0c754e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rems-cds-hooks
4 changes: 2 additions & 2 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Server } from '@projecttacoma/node-fhir-server-core';
import env from 'env-var';
import https from 'https';
import fs from 'fs';
import { TypedResponseBody } from './rems-cds-hooks/resources/HookTypes';
import { TypedRequestBody, TypedResponseBody } from './rems-cds-hooks/resources/HookTypes';
import { Config } from './config';
import { IncomingMessage, ServerResponse } from 'node:http';
import axios from 'axios';
Expand Down Expand Up @@ -39,7 +39,7 @@ const initialize = (config: Config): REMSIntermediary => {

type CdsHooksService = {
definition: CdsService;
handler: (req: Express.Request, res: TypedResponseBody) => void;
handler: (req: TypedRequestBody, res: TypedResponseBody) => void;
};

/**
Expand Down

0 comments on commit f0c754e

Please sign in to comment.