Skip to content

Commit

Permalink
fix: add FlowFixMe around reshardAt query
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmclaurin committed Feb 5, 2019
1 parent 2e9814a commit c54a476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ShardRegistrar.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export default class ShardRegistrar extends EventEmitter<ShardRegistrarEvents> {
let reshardAt: ?Date
if (isCoordinator) {
;({
// $FlowFixMe: rows exists once promise is resovled
rows: [{ reshardAt }],
} = await this._query(
`SELECT "reshard_ShardReservations"($1, $2::interval) AS "reshardAt";`,
Expand Down

0 comments on commit c54a476

Please sign in to comment.