All update about transportantion and style
This commit is contained in:
@@ -25,14 +25,12 @@ const findSiteNumber = (req) => {
|
||||
const splitSiteGet = (req, queryParams) => {
|
||||
const site = findSiteNumber(req);
|
||||
const newQueryParams = { ...queryParams, site: site };
|
||||
console.log('query', newQueryParams);
|
||||
return newQueryParams;
|
||||
}
|
||||
|
||||
const splitSitePost = (req, postBody) => {
|
||||
const site = findSiteNumber(req);
|
||||
const newPostBody = { ...postBody, site: site };
|
||||
console.log('post', newPostBody);
|
||||
return newPostBody;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user