pass static-check
This commit is contained in:
parent
c74e59fa4c
commit
3477df4c12
2 changed files with 1 additions and 2 deletions
|
@ -47,7 +47,6 @@ local function set_cookie(self, value)
|
||||||
httponly = true,
|
httponly = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
local expires
|
|
||||||
if self.cookie_expires and self.cookie_expires ~= "" then
|
if self.cookie_expires and self.cookie_expires ~= "" then
|
||||||
cookie_data.expires = ngx.cookie_time(tonumber(self.cookie_expires))
|
cookie_data.expires = ngx.cookie_time(tonumber(self.cookie_expires))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue