Skip to content
Snippets Groups Projects
Commit a06af0fe authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix(*): fix useTransaction base model import

parent 62a04de4
No related branches found
No related tags found
No related merge requests found
const { BaseModel } = require('@pubsweet/base-model') const BaseModel = require('@pubsweet/base-model')
const useTransaction = async (callback, options = {}) => { const useTransaction = async (callback, options = {}) => {
const { passedTrxOnly = false, trx } = options const { passedTrxOnly = false, trx } = options
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment