Fix endpoint for internal refresh feed API call

This should eventually be replaced.
This commit is contained in:
Jackson Harper
2024-01-18 16:48:41 +08:00
parent 6193c78288
commit 3b0338967d

View File

@ -201,7 +201,7 @@ const sendUpdateSubscriptionMutation = async (
scheduledAt: Date
) => {
const JWT_SECRET = env.server.jwtSecret
const REST_BACKEND_ENDPOINT = process.env.INTERNAL_API_URL
const REST_BACKEND_ENDPOINT = `${process.env.INTERNAL_API_URL}/api`
if (!JWT_SECRET || !REST_BACKEND_ENDPOINT) {
throw 'Environment not configured correctly'