Fix correct interior env names (#38)
This commit is contained in:
@@ -4,7 +4,7 @@ import { Product, ProductGroup } from '../types/product-types';
|
||||
export class InteriorsLambdaAPI extends RESTDataSource {
|
||||
constructor() {
|
||||
super();
|
||||
this.baseURL = process.env.INTERIOR_URL;
|
||||
this.baseURL = process.env.INTERIORS_URL;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -23,7 +23,7 @@ export class InteriorsLambdaAPI extends RESTDataSource {
|
||||
const isRepeating = found !== undefined;
|
||||
|
||||
const body = {
|
||||
token: process.env.INTERIOR_TOKEN,
|
||||
token: process.env.INTERIORS_TOKEN,
|
||||
image: `products/${product.id}.jpg`,
|
||||
primary_image_area: [
|
||||
product.fields.focusXpoint2,
|
||||
|
||||
Reference in New Issue
Block a user