discourse-chat-integration/assets/javascripts/admin/models/channel.js

12 lines
237 B
JavaScript

import RestModel from "discourse/models/rest";
export default RestModel.extend({
updateProperties() {
return this.getProperties(["data"]);
},
createProperties() {
return this.getProperties(["provider", "data"]);
},
});