Skip to content

Commit

Permalink
💄 fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Mar 16, 2024
1 parent b77c1fc commit 3691f92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions baker/SiteBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,7 @@ export class SiteBaker {

private async bakeDataInsights(knex: db.KnexReadonlyTransaction) {
if (!this.bakeSteps.has("dataInsights")) return
const latestDataInsights = await db.getPublishedDataInsights(
knex,
5
)
const latestDataInsights = await db.getPublishedDataInsights(knex, 5)
const publishedDataInsights =
await GdocDataInsight.getPublishedDataInsights()

Expand Down
4 changes: 3 additions & 1 deletion db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ export const getTotalNumberOfCharts = (
).then((res) => res?.count ?? 0)
}

export const getTotalNumberOfInUseGrapherTags = (knex: KnexReadonlyTransaction): Promise<number> => {
export const getTotalNumberOfInUseGrapherTags = (
knex: KnexReadonlyTransaction
): Promise<number> => {
return knexRawFirst<{ count: number }>(
knex,
`
Expand Down

0 comments on commit 3691f92

Please sign in to comment.