Skip to content

Commit

Permalink
more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 12, 2020
1 parent cab5de4 commit 1c76cbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function registerGenerateFromJobParams(
}

const { exportType } = req.params as { exportType: string };
let jobParams: CreateJobBaseParams | null;
let jobParams;

try {
jobParams = rison.decode(jobParamsRison) as CreateJobBaseParams | null;
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export type ReportingRequestQuery = ListQuery | GenerateQuery;

export interface ReportingRequestPre {
management: {
jobTypes: any;
jobTypes: string[];
};
user: string;
}
Expand Down

0 comments on commit 1c76cbd

Please sign in to comment.