Export updateAppPackage function to be used elsewhere
This commit is contained in:
parent
14ffb78176
commit
f6e67e3519
|
@ -547,7 +547,7 @@ export const sync = async (ctx: any, next: any) => {
|
|||
}
|
||||
}
|
||||
|
||||
const updateAppPackage = async (appPackage: any, appId: any) => {
|
||||
export const updateAppPackage = async (appPackage: any, appId: any) => {
|
||||
return context.doInAppContext(appId, async () => {
|
||||
const db = context.getAppDB()
|
||||
const application = await db.get(DocumentTypes.APP_METADATA)
|
||||
|
|
Loading…
Reference in New Issue