Skip to content

Commit

Permalink
Merge pull request #77 from Geta/fix-automatic-redirect-move-error
Browse files Browse the repository at this point in the history
Fixed sql parameter.
  • Loading branch information
marisks authored Jan 27, 2023
2 parents f1a7dd1 + 118f32f commit 2d22787
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private void Create(ContentUrlHistory entity)
sqlCommand,
_dataExecutor.CreateGuidParameter("id", entity.Id),
_dataExecutor.CreateStringParameter("contentKey", entity.ContentKey),
_dataExecutor.CreateStringParameter("urls", ToJson(entity.Urls)),
_dataExecutor.CreateStringParameter("urls", ToJson(entity.Urls), -1),
_dataExecutor.CreateDateTimeParameter("createdUtc", entity.CreatedUtc));
}

Expand All @@ -144,7 +144,7 @@ private void Update(ContentUrlHistory entity)
sqlCommand,
_dataExecutor.CreateGuidParameter("id", entity.Id),
_dataExecutor.CreateStringParameter("contentKey", entity.ContentKey),
_dataExecutor.CreateStringParameter("urls", ToJson(entity.Urls)),
_dataExecutor.CreateStringParameter("urls", ToJson(entity.Urls), -1),
_dataExecutor.CreateDateTimeParameter("createdUtc", entity.CreatedUtc));
}

Expand Down

0 comments on commit 2d22787

Please sign in to comment.