Skip to content

Commit

Permalink
Fix js import & update the fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
blaginin committed Aug 21, 2024
1 parent 46962dd commit 291bc60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/fnc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ mod tests {
for problem in problems {
eprintln!(" - {problem}");
}
panic!("ensure functions can be parsed in lib/src/sql/function.rs and are exported to JS in lib/src/fnc/script/modules/surrealdb");
panic!("ensure functions can be parsed in lib/src/sql/function.rs and are exported to JS in ./core/src/fnc/script/modules/surrealdb");
}
}
}
1 change: 1 addition & 0 deletions core/src/fnc/script/modules/surrealdb/functions/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ impl_module_def!(
"session",
"db" => run,
"id" => run,
"sid" => run,
"ip" => run,
"ns" => run,
"origin" => run,
Expand Down

0 comments on commit 291bc60

Please sign in to comment.