Browse Source

Merge pull request #1590 from nextcloud/bugfix/noid/fix-eslint-on-master

Fix ESlint on master
pull/1586/head
Joas Schilling 7 years ago
committed by GitHub
parent
commit
77e1657606
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      js/models/room.js

2
js/models/room.js

@ -75,7 +75,7 @@
// attributes hash to be set on the model.
return (result.ocs === undefined)? result : result.ocs.data;
},
validate: function(attributes, options) {
validate: function(attributes) {
if (!attributes.name) {
return t('spreed', 'Room name can not be empty');
}

Loading…
Cancel
Save