Skip to content

Commit

Permalink
Add extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
blaginin committed Aug 21, 2024
1 parent c257966 commit 46962dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/fnc/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub fn id(ctx: &Context, _: ()) -> Result<Value, Error> {
pub fn sid(ctx: &Context, _: ()) -> Result<Value, Error> {
ctx.value("session").unwrap_or(&Value::None).pick(SID.as_ref()).ok()
}

pub fn ip(ctx: &Context, _: ()) -> Result<Value, Error> {
ctx.value("session").unwrap_or(&Value::None).pick(IP.as_ref()).ok()
}
Expand Down

0 comments on commit 46962dd

Please sign in to comment.