Skip to content

Commit

Permalink
change to optional params
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Sep 24, 2020
1 parent 6779aa9 commit dc62bb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ export function noAncestorsTwoChildren(): { dataAccessLayer: DataAccessLayer; me
* a `event.category` that includes `category`.
*/
async eventsWithEntityIDAndCategory(
_entityID: string,
_category: string,
_after: string
entityID: string,
category: string,
after?: string
): Promise<{
events: SafeResolverEvent[];
nextEvent: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function noAncestorsTwoChildenInIndexCalledAwesomeIndex(): {
async eventsWithEntityIDAndCategory(
entityID: string,
category,
_after: string
after?: string
): Promise<{
events: SafeResolverEvent[];
nextEvent: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function noAncestorsTwoChildrenWithRelatedEventsOnOrigin(): {
async eventsWithEntityIDAndCategory(
entityID: string,
category: string,
_after: string
after?: string
): Promise<{ events: SafeResolverEvent[]; nextEvent: string | null }> {
const events =
entityID === metadata.entityIDs.origin
Expand Down

0 comments on commit dc62bb9

Please sign in to comment.