oak-general-business/es/features/template.js

16 lines
388 B
JavaScript

import { Feature } from 'oak-frontend-base';
export class Template extends Feature {
cache;
constructor(cache) {
super();
this.cache = cache;
}
async syncMessageTemplate(applicationId) {
const result = await this.cache.exec('syncMessageTemplate', {
applicationId
});
console.log(result);
this.publish();
}
}