Fixed update organisation #95

Merged
khwezi merged 1 commits from finishline into main 2026-09-26 10:39:45 +02:00
@@ -180,7 +180,7 @@ public sealed class GovernanceService(IDbContextFactory<ApplicationDbContext> co
var updateResult = await UpdateTenantOrganisationAsync(hashService.HashEncodeLongId(tenantOrganisation.Id).Value, request.Status, userId, cancellationToken);
return Result.OkIf(changedTotal > 0 && updateResult.IsFailed, UpdateError.Create("Failed to update organisation"));
return Result.OkIf(changedTotal > 0 && updateResult.IsSuccess, UpdateError.Create("Failed to update organisation"));
}));
public async Task<Result> CreatePortfolioAsync(CreatePortfolioRequest request, Guid userId, CancellationToken cancellationToken = default) =>