File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function getAzureOpenAiTokenProvider() {
1818 return getBearerTokenProvider ( getCredentials ( ) , azureOpenAiScope ) ;
1919}
2020
21- export function getAuthenticationUserId ( request : HttpRequest , body ?: any ) : string | undefined {
21+ export function getAuthenticationUserId ( request : HttpRequest ) : string | undefined {
2222 let userId : string | undefined ;
2323
2424 // Get the user ID from Azure easy auth
@@ -33,7 +33,7 @@ export function getAuthenticationUserId(request: HttpRequest, body?: any): strin
3333
3434export async function getInternalUserId ( request : HttpRequest , body ?: any ) : Promise < string | undefined > {
3535 // Get the user ID from Azure easy auth if it's available,
36- let authUserId = getAuthenticationUserId ( request , body ) ;
36+ let authUserId = getAuthenticationUserId ( request ) ;
3737 if ( authUserId ) {
3838 // Exchange the auth user ID to the internal user ID
3939 const db = await UserDbService . getInstance ( ) ;
You can’t perform that action at this time.
0 commit comments