Merge pull request 'Fixed update organisation' (#95) from finishline into main

Reviewed-on: #95
This commit was merged in pull request #95.
This commit is contained in:
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) =>