Skip to content

Commit

Permalink
fix: use transformDatabaseUser in transformDatabaseUser example (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
braden-w authored Dec 24, 2023
1 parent 92b4535 commit 83960e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/content/reference/lucia/interfaces/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ const transformDatabaseUser: (databaseUser: UserSchema) => User;
import { auth } from "./lucia.js";

const databaseUser = await db.getUser(userId);
const user = auth.transformDatabaseSession(databaseUser);
const user = auth.transformDatabaseUser(databaseUser);
```

## `updateKeyPassword()`
Expand Down

0 comments on commit 83960e2

Please sign in to comment.