Merge pull request #2027 from rejas/fix_travis_error

Fix travis error
This commit is contained in:
Michael Teeuw 2020-05-25 20:18:37 +02:00 committed by GitHub
commit 8a3a4d6fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
_This release is scheduled to be released on 2020-07-01._
### Added
- Compliments Module - Add Advice API (https://api.adviceslip.com/) Option
- Added prettier for an even cleaner codebase

View File

@ -53,7 +53,7 @@ Module.register("compliments", {
xobj.onreadystatechange = function () {
if (xobj.readyState === 4 && xobj.status === 200) {
const adviceResp = JSON.parse(xobj.responseText);
self.config.compliments = adviceResp.slip.advice
self.config.compliments = adviceResp.slip.advice;
self.updateDom();
}
};