1
0
Fork 0
mirror of synced 2024-09-14 00:08:25 +12:00

Export updateAppPackage function to be used elsewhere

This commit is contained in:
Andrew Kingston 2022-08-11 15:30:27 +01:00
parent 14ffb78176
commit f6e67e3519

View file

@ -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)