mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
13
backend/apis/nodejs/node_modules/rechoir/lib/normalize.js
generated
vendored
Normal file
13
backend/apis/nodejs/node_modules/rechoir/lib/normalize.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
function normalizer(config) {
|
||||
if (typeof config === 'string') {
|
||||
return { module: config };
|
||||
}
|
||||
return config;
|
||||
}
|
||||
|
||||
module.exports = function (config) {
|
||||
if (Array.isArray(config)) {
|
||||
return config.map(normalizer);
|
||||
}
|
||||
return normalizer(config);
|
||||
};
|
Reference in New Issue
Block a user