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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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'); |
|
|
|
} |
|
|
|
|