5043-mock_Date #1260
|
@ -24,7 +24,7 @@ module.exports = Self => {
|
|||
}
|
||||
});
|
||||
|
||||
Self.setSaleQuantity = async(saleId, quantity) => {
|
||||
Self.setSaleQuantity = async(saleId, quantity, options) => {
|
||||
const models = Self.app.models;
|
||||
const myOptions = {};
|
||||
let tx;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
import Puppeteer from 'puppeteer';
|
||||
import {extendPage} from './extensions';
|
||||
import {url as defaultURL} from './config';
|
||||
import 'vn-loopback/server/boot/date.js';
|
||||
|
||||
export async function getBrowser() {
|
||||
const args = [
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require('@babel/register')({presets: ['@babel/env']});
|
||||
require('core-js/stable');
|
||||
require('regenerator-runtime/runtime');
|
||||
require('vn-loopback/server/boot/date')();
|
||||
|
||||
const axios = require('axios');
|
||||
const Docker = require('../../db/docker.js');
|
||||
|
|
Loading…
Reference in New Issue