mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
db/API.js: early return, no functional changes
This commit is contained in:
parent
30d814d8ed
commit
1d45a63864
1 changed files with 5 additions and 5 deletions
|
@ -268,13 +268,13 @@ exports.getText = function(padID, rev, callback)
|
||||||
|
|
||||||
callback(null, data);
|
callback(null, data);
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//the client wants the latest text, lets return it to him
|
//the client wants the latest text, lets return it to him
|
||||||
else
|
var padText = exportTxt.getTXTFromAtext(pad, pad.atext);
|
||||||
{
|
callback(null, {"text": padText});
|
||||||
var padText = exportTxt.getTXTFromAtext(pad, pad.atext);
|
|
||||||
callback(null, {"text": padText});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue