Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Apr 29, 2020
1 parent 7ac98c7 commit 9aab27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/uptime/server/lib/requests/get_certs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getCerts: UMElasticsearchQueryFn<GetCertsParams, CertResult> = asyn
sortBy,
direction,
}) => {
const sort = SortFields[sortBy as keyof SortFields];
const sort = SortFields[sortBy as keyof typeof SortFields];

const params: any = {
index: dynamicSettings.heartbeatIndices,
Expand Down

0 comments on commit 9aab27b

Please sign in to comment.