mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
fix: do not return completed transactions
This commit is contained in:
parent
c0729afdd7
commit
d6918466c9
@ -10,7 +10,8 @@ const transactionCtx = {
|
||||
},
|
||||
|
||||
get() {
|
||||
return storage.getStore();
|
||||
const trx = storage.getStore();
|
||||
return trx?.isCompleted() ? undefined : trx;
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user