MCPcopy Create free account
hub / github.com/aws-samples/serverless-coffee / initMenu

Function initMenu

01-appCore/initDB/initMenu.js:47–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45})
46
47const initMenu = async () => {
48 try {
49 console.log('params',JSON.stringify(params,null,0))
50 const result = await documentClient.batchWriteItem(params).promise()
51 console.log('initMenus result: ', result)
52 } catch (err) {
53 console.error('initMenus error: ', err)
54 }
55}
56
57module.exports = { initMenu }

Callers 2

mainFunction · 0.85
app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected