mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 19:10:01 +00:00
14 lines
221 B
JavaScript
14 lines
221 B
JavaScript
'use strict';
|
|
|
|
const { getService } = require('../utils');
|
|
|
|
module.exports = {
|
|
getInitData(ctx) {
|
|
ctx.body = {
|
|
data: {
|
|
fieldSizes: getService('field-sizes').getAllFieldSizes(),
|
|
},
|
|
};
|
|
},
|
|
};
|