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

12 lines
235 B
Plaintext
Raw Normal View History

import RestModel from 'discourse/models/rest';
export default RestModel.extend({
updateProperties() {
2017-10-03 05:42:07 -04:00
return this.getProperties(['data']);
},
createProperties() {
2017-10-03 05:42:07 -04:00
return this.getProperties(['provider','data']);
}
});