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

12 lines
248 B
JavaScript
Raw Normal View History

import RestModel from "discourse/models/rest";
2023-01-23 13:30:48 -05:00
export default class Channel extends RestModel {
updateProperties() {
return this.getProperties(["data"]);
2023-01-23 13:30:48 -05:00
}
createProperties() {
return this.getProperties(["provider", "data"]);
2023-01-23 13:30:48 -05:00
}
}