2019-02-02 20:13:06 +01:00
|
|
|
import indexdb from './indexdb'
|
|
|
|
|
|
2019-02-03 19:28:06 +01:00
|
|
|
export default async (context, cmd, table, data = null, id = '') => {
|
|
|
|
|
const descr = data !== null ? data.descr : ''
|
|
|
|
|
console.log('globalroutines', cmd, table, descr, id)
|
2019-02-02 21:16:49 +01:00
|
|
|
return await indexdb(context, cmd, table, data, id)
|
2019-02-02 20:13:06 +01:00
|
|
|
}
|