import { updateUserSession } from "https://deno.land/x/netzo@0.2.94/plugins/portals/utils/db.ts";
Updates the session ID of a given user in the database.
Examples
Example 1
Example 1
import { updateUserSession } from "netzo/plugins/portals/utils/db.ts";
await updateUserSession({
login: "john",
sessionId: "xxx",
role: "admin",
}, "yyy");
Parameters
user: User