Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Mar 19, 2024
1 parent 95cb424 commit e60bb60
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/run/src/app/process.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
diffDecodeTrack,
diffEncodeAirspaces,
diffEncodeArray,
diffEncodeArray32bit,
fetchResponse,
protos,
SecretKeys,
Expand Down Expand Up @@ -37,7 +37,7 @@ export async function postProcessTrack(datastore: Datastore, trackId: number | s
trackEntity.ground_altitude_group = Buffer.from(
protos.GroundAltitudeGroup.toBinary({
groundAltitudes: groundAltitudes.map(({ altitudes, hasErrors }) => ({
altitudes: diffEncodeArray(altitudes),
altitudes: diffEncodeArray32bit(altitudes),
hasErrors,
})),
}),
Expand Down
44 changes: 42 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e60bb60

Please sign in to comment.