diff --git a/lyricsnode/routes/round.js b/lyricsnode/routes/round.js index 97b2133..0f7750f 100644 --- a/lyricsnode/routes/round.js +++ b/lyricsnode/routes/round.js @@ -146,7 +146,8 @@ exports.others = function (req, res) { } else { console.log('Insert succeded'); // things went alright - result.status = 'OK' + result.status = 'OK'; + result.message = 'Added'; } console.log(JSON.stringify(result)); diff --git a/lyricsnode/views/index.html b/lyricsnode/views/index.html index e3425f9..0167686 100644 --- a/lyricsnode/views/index.html +++ b/lyricsnode/views/index.html @@ -2,23 +2,28 @@ {% macro other %}
@@ -106,6 +111,8 @@ {% block scripts %} {% endblock scripts %}