Skip to content

Commit

Permalink
[eslint] fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Nov 12, 2018
1 parent 8dcd2ca commit aa2221f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ common.getIpAddress = function(req) {
/**
* This function takes ipv4 or ipv6 with possible port, removes port information and returns plain ip address
* @param {string} ip - ip address to check for port and return plain ip
* @returns returns plain ip address
* @returns {string} plain ip address
*/
function stripPort(ip) {
var parts = (ip + "").split(".");
Expand Down

0 comments on commit aa2221f

Please sign in to comment.