Skip to content

Commit

Permalink
Require customerId
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhtr committed Jul 2, 2020
1 parent 7a01b85 commit 1772dd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export type Request = t.Branded<
};
} & {
identityId: Defined;
customerId: Defined;
payload: Defined;
headers: Defined;
},
Expand All @@ -68,6 +69,7 @@ export const Request = t.brand(
}),
t.type({
identityId: Defined,
customerId: Defined,
payload: Defined,
headers: Defined,
}),
Expand All @@ -86,6 +88,7 @@ export const Request = t.brand(
};
} & {
identityId: Defined;
customerId: Defined;
payload: Defined;
headers: Defined;
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"type": "object"
}
},
"required": ["identityId", "payload", "headers"],
"required": ["identityId", "customerId", "payload", "headers"],
"type": "object"
}

0 comments on commit 1772dd8

Please sign in to comment.