Revert unwanted wording changes

This commit is contained in:
Convly 2021-09-09 16:58:55 +02:00
parent 37311b2757
commit a0cdf693bb

View File

@ -4,7 +4,7 @@ const _ = require('lodash');
const { pickBy, has } = require('lodash/fp'); const { pickBy, has } = require('lodash/fp');
const { addNamespace, hasNamespace } = require('../utils'); const { addNamespace, hasNamespace } = require('../utils');
const contentTypesRegistry = strapi => { const servicesRegistry = strapi => {
const services = {}; const services = {};
const instantiatedServices = {}; const instantiatedServices = {};
@ -41,6 +41,8 @@ const contentTypesRegistry = strapi => {
} }
services[uid] = service; services[uid] = service;
} }
return this;
}, },
extend(serviceUID, extendFn) { extend(serviceUID, extendFn) {
const currentService = this.get(serviceUID); const currentService = this.get(serviceUID);
@ -53,4 +55,4 @@ const contentTypesRegistry = strapi => {
}; };
}; };
module.exports = contentTypesRegistry; module.exports = servicesRegistry;