Skip to content

Commit 3032323

Browse files
committed
remove pharmacy from context in request builder
1 parent e2974e2 commit 3032323

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/containers/RequestBuilder.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ const RequestBuilder = props => {
182182
prefetch,
183183
globalState.sendPrefetch,
184184
hook,
185-
hookConfig,
186-
'pharm0111'
185+
hookConfig
187186
);
188187

189188
let baseUrl = globalState.baseUrl;

src/util/buildRequest.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ export default function buildRequest(
99
prefetch,
1010
includePrefetch,
1111
hook,
12-
hookConfig,
13-
pharmacyId = 'pharm0111'
14-
15-
) {
12+
hookConfig
13+
) {
1614
// Use the provided user if there is no request for this hook
1715
let userId = 'Practitioner/' + user;
1816
if (request) {
@@ -33,8 +31,7 @@ export default function buildRequest(
3331
context: {
3432
userId: userId,
3533
patientId: patient.id,
36-
encounterId: 'enc89284',
37-
pharmacyId: pharmacyId
34+
encounterId: 'enc89284'
3835
}
3936
};
4037

0 commit comments

Comments
 (0)