UNPKG

@appsemble/node-utils

Version:

NodeJS utilities used by Appsemble internally.

10 lines 516 B
import { getMessagesUtil } from '../../../../../index.js'; export function createGetAppMessagesController(options) { return async (ctx) => { const { pathParams: { appId, language }, query: { merge, override = 'true' }, } = ctx; // @ts-expect-error 2345 argument of type is not assignable to parameter of type // (strictNullChecks) ctx.body = await getMessagesUtil(ctx, language, appId, merge, options, override); }; } //# sourceMappingURL=createGetAppMessagesController.js.map