Skip to content

Commit

Permalink
fix(connector): change lastEditor from companyuser to identity (#124)
Browse files Browse the repository at this point in the history
change link from connector lastEditor from CompanyUser to Identity

---------

Refs: CPLP-2950
Co-authored-by: Norbert Truchsess <[email protected]>
Reviewed-By: Norbert Truchsess <[email protected]>
  • Loading branch information
Phil91 and ntruchsess authored Jul 12, 2023
1 parent afc8a65 commit c38a7c4
Show file tree
Hide file tree
Showing 22 changed files with 7,077 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private async Task<Guid> CreateAndRegisterConnectorAsync(
string businessPartnerNumber,
Guid selfDescriptionDocumentId,
IFormFile? file,
Guid? companyUserId,
Guid? userId,
CancellationToken cancellationToken)
{
var (name, connectorUrl, type, location, provider, host, technicalUserId) = connectorInputModel;
Expand All @@ -241,7 +241,7 @@ private async Task<Guid> CreateAndRegisterConnectorAsync(
connector.ProviderId = provider;
connector.HostId = host;
connector.TypeId = type;
connector.LastEditorId = companyUserId;
connector.LastEditorId = userId;
connector.DateLastChanged = DateTimeOffset.UtcNow;
if (technicalUserId != null)
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
********************************************************************************/

using Microsoft.EntityFrameworkCore.Migrations;
using System;

#nullable disable

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c38a7c4

Please sign in to comment.