ЛХ
app.get('/dynamic/path/*', func)
не обрабатывает запрос /dynamic/path/10?param=value
Это обрабатывается иначе, или я что-то не так делаю?Size: a a a
ЛХ
app.get('/dynamic/path/*', func)
не обрабатывает запрос /dynamic/path/10?param=value
Это обрабатывается иначе, или я что-то не так делаю?А
ЛХ
id в request.query?GS
N
ЛХ
А
GS
ED
GS
АК
ES
const cards = await payload.map((items: any) => {
sequelize.query(
`insert into DOC(documents_id, Executors_id, Executor_type, parent_id)
values(:documents_id, :executors_id, :executor_type, :parent_id)`,
{
replacements: {
documents_id: items.documentsId ?? null,
executors_id: items.performerId ?? null,
executor_type: items.peformerType ?? null,
parent_id: items.parentId ?? null
},
type: QueryTypes.INSERT,
});
});
ES

DC
ES
DC
const fetch = require('node-fetch');
const result = await fetch(link, {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({test: true}),
});DC
K
ЛХ
K