Undo button (#76)

This commit is contained in:
Will Chen
2025-05-02 15:35:39 -07:00
committed by GitHub
parent a6eaaa6a94
commit b9dc2cc0f9
3 changed files with 136 additions and 56 deletions

View File

@@ -494,7 +494,6 @@ export function registerAppHandlers() {
_,
{ appId, previousVersionId }: { appId: number; previousVersionId: string }
) => {
logger.log(`Reverting to version ${previousVersionId} for app ${appId}`);
return withLock(appId, async () => {
const app = await db.query.apps.findFirst({
where: eq(apps.id, appId),