Add 'node:' prefix to import
This commit is contained in:
parent
2e661c36e5
commit
049ae541aa
|
@ -16,7 +16,7 @@ import {
|
|||
} from '../../constants.js';
|
||||
import { forwardFetchResponse, trimV1, getConfigValue } from '../../util.js';
|
||||
import { setAdditionalHeaders } from '../../additional-headers.js';
|
||||
import { createHash } from 'crypto';
|
||||
import { createHash } from 'node:crypto';
|
||||
|
||||
export const router = express.Router();
|
||||
|
||||
|
@ -243,7 +243,7 @@ router.post('/props', jsonParser, async function (request, response) {
|
|||
setAdditionalHeaders(request, args, baseUrl);
|
||||
|
||||
const apiType = request.body.api_type;
|
||||
const propsUrl = baseUrl + "/props";
|
||||
const propsUrl = baseUrl + '/props';
|
||||
const propsReply = await fetch(propsUrl, args);
|
||||
|
||||
if (!propsReply.ok) {
|
||||
|
|
Loading…
Reference in New Issue