|
|
@ -135,10 +135,11 @@ namespace Squidex.Domain.Apps.Entities.Apps |
|
|
await appsIndex.RemoveReservationAsync(appReservation); |
|
|
await appsIndex.RemoveReservationAsync(appReservation); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async Task CompleteRestoreAsync(RestoreContext context) |
|
|
public async Task CompleteRestoreAsync(RestoreContext context, string appName) |
|
|
{ |
|
|
{ |
|
|
await rebuilder.InsertManyAsync<AppDomainObject, AppDomainObject.State>(Enumerable.Repeat(context.AppId, 1), 1, default); |
|
|
await rebuilder.InsertManyAsync<AppDomainObject, AppDomainObject.State>(Enumerable.Repeat(context.AppId, 1), 1, default); |
|
|
|
|
|
|
|
|
|
|
|
await appsIndex.RegisterAsync(context.AppId, appName); |
|
|
await appsIndex.RemoveReservationAsync(appReservation); |
|
|
await appsIndex.RemoveReservationAsync(appReservation); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|