mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 08:01:56 -05:00
chore: fix typo (#5450)
This commit is contained in:
@@ -33,7 +33,7 @@ export async function getCurrentAuthContext(): Promise<AuthEndpointContext> {
|
||||
const context = als.getStore();
|
||||
if (!context) {
|
||||
throw new Error(
|
||||
"No auth context found. Please make sure you are calling this function within a `getCurrentAuthContext` callback.",
|
||||
"No auth context found. Please make sure you are calling this function within a `runWithEndpointContext` callback.",
|
||||
);
|
||||
}
|
||||
return context;
|
||||
|
||||
Reference in New Issue
Block a user