prepare to async: typos in error messages

This change extracts the grammar correction performed on the async branch,
anticipating them in a single commit. It cannot be folded with the previous
one, as it is not purely cosmetic.
This commit is contained in:
muxator 2019-02-15 22:52:53 +01:00
parent 9497ee734f
commit e841798314
6 changed files with 12 additions and 12 deletions

View file

@ -95,7 +95,7 @@ exports.createSession = function(groupID, authorID, validUntil, callback)
// ensure this is not a negative number
if (validUntil < 0) {
callback(new customError("validUntil is a negativ number", "apierror"));
callback(new customError("validUntil is a negative number", "apierror"));
return;
}