1
0
Fork 0
mirror of synced 2024-06-17 01:44:53 +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 c9ab2c4fcb
commit 6e668f32c6

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)