Skip to content

Commit aa2221f

Browse files
committedNov 12, 2018
[eslint] fixes
1 parent 8dcd2ca commit aa2221f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎api/utils/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ common.getIpAddress = function(req) {
11581158
/**
11591159
* This function takes ipv4 or ipv6 with possible port, removes port information and returns plain ip address
11601160
* @param {string} ip - ip address to check for port and return plain ip
1161-
* @returns returns plain ip address
1161+
* @returns {string} plain ip address
11621162
*/
11631163
function stripPort(ip) {
11641164
var parts = (ip + "").split(".");

0 commit comments

Comments
 (0)
Please sign in to comment.