Skip to content

Commit 5327a0a

Browse files
committed
j
1 parent 9e1eee8 commit 5327a0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

models/module.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ async function update(filter, updateObject) {
4949
});
5050
return module;
5151
}
52+
53+
async function test() {
54+
await create(1, 'Maths', 'abc', 'xyz', 5, 'abc');
55+
const reading = await read({});
56+
console.log(reading);
57+
}
58+
5259
export default {
5360
create,
5461
read,

0 commit comments

Comments
 (0)