Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit cd6ad21

Browse files
Patch v1.29.2 (#478)
* [FIX] Apps not being enabled in framework load time (#473) * fix: adding the necessary information about the api when update Co-authored-by: Allan Ribeiro <allan_paz_ribeiro@hotmail.com>
1 parent 6ce7f21 commit cd6ad21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/server/AppManager.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ export class AppManager {
564564
await this.disable(old.id).catch(() => {});
565565

566566
const descriptor: IAppStorageItem = {
567+
...old,
567568
createdAt: old.createdAt,
568569
id: result.info.id,
569570
info: result.info,
@@ -940,13 +941,14 @@ export class AppManager {
940941
}
941942

942943
if (saveToDb) {
943-
storageItem.status = app.getStatus();
944+
storageItem.status = status;
944945
// This is async, but we don't care since it only updates in the database
945946
// and it should not mutate any properties we care about
946947
await this.appMetadataStorage.update(storageItem).catch();
947948
}
948949

949950
await app.setStatus(status, silenceStatus);
951+
950952
return enable;
951953
}
952954

0 commit comments

Comments
 (0)