Pass datasource to instance
This commit is contained in:
parent
02b20f1102
commit
ff0a25f0ff
|
@ -31,7 +31,7 @@ const getDatasourceFetchInstance = datasource => {
|
||||||
if (!handler) {
|
if (!handler) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
return new handler({ API })
|
return new handler({ API, datasource })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue