fix(core): Fix binary data manager check on pruning (#7251)

Ensure that we do not attempt to prune binary data in `default` binary
data mode.
This commit is contained in:
Iván Ovejero 2023-09-25 16:50:11 +02:00 committed by GitHub
parent d47986aec3
commit 484035eb51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,7 @@ export class BinaryDataService {
}
async deleteManyByExecutionIds(executionIds: string[]) {
const manager = this.getManager(this.mode);
const manager = this.managers[this.mode];
if (!manager) return;