Skip to content

Commit

Permalink
refactor lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
ggascoigne committed Apr 5, 2020
1 parent 240de67 commit 2523b12
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { NextFunction, Request, Response } from 'express'
import { postgraphile } from 'postgraphile'

import { combineMiddlewares } from './_combineMiddlewares'
import { getConnectionString, getSchemas } from './_shared/config'
import { options } from './_shared/postgraphileOptions'
import { getConnectionString, getSchemas } from '../shared/config'
import { options } from '../shared/postgraphileOptions'

const app = combineMiddlewares([
/*
Expand Down Expand Up @@ -33,7 +33,7 @@ const app = combineMiddlewares([
},
postgraphile(getConnectionString(), getSchemas(), {
...options,
readCache: `${__dirname}/_shared/postgraphile.cache`,
readCache: `${__dirname}/../shared/postgraphile.cache`,
}),
])

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2523b12

Please sign in to comment.