fix: Parameters missing in afterFind trigger of authentication adapters (#8458)
This commit is contained in:
@@ -850,7 +850,12 @@ RestQuery.prototype.handleAuthAdapters = async function () {
|
||||
return;
|
||||
}
|
||||
await Promise.all(
|
||||
this.response.results.map(result => this.config.authDataManager.runAfterFind(result.authData))
|
||||
this.response.results.map(result =>
|
||||
this.config.authDataManager.runAfterFind(
|
||||
{ config: this.config, auth: this.auth },
|
||||
result.authData
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user