mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update envar name
This commit is contained in:
parent
62fdb866a8
commit
9633e7df79
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ const sendUpdateSubscriptionMutation = async (
|
|||
lastFetchedChecksum: string,
|
||||
scheduledAt: Date
|
||||
) => {
|
||||
const JWT_SECRET = process.env.JWT_SECRET
|
||||
const REST_BACKEND_ENDPOINT = process.env.REST_BACKEND_ENDPOINT
|
||||
const JWT_SECRET = env.server.jwtSecret
|
||||
const REST_BACKEND_ENDPOINT = process.env.INTERNAL_API_URL
|
||||
|
||||
if (!JWT_SECRET || !REST_BACKEND_ENDPOINT) {
|
||||
throw 'Environment not configured correctly'
|
||||
|
|
|
|||
Loading…
Reference in a new issue