Skip to content

Commit 56f2156

Browse files
author
fgonzalez
committed
fix: remove unnecessary quotes
1 parent bc92353 commit 56f2156

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doppler.HtmlEditorApi/Repositories.DopplerDb/Queries/InsertPromoCodeDbQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ string ThirdPartyApp
1919
{
2020
public string GenerateSqlQuery() => @"
2121
DECLARE @IdThirdPartyApp INT;
22-
SELECT @IdThirdPartyApp = IdThirdPartyApp FROM ThirdPartyApp WHERE Name = '@ThirdPartyApp';
22+
SELECT @IdThirdPartyApp = IdThirdPartyApp FROM ThirdPartyApp WHERE Name = @ThirdPartyApp;
2323
2424
INSERT INTO DynamicContentPromoCode (
2525
Type,

Doppler.HtmlEditorApi/Repositories.DopplerDb/Queries/UpdatePromoCodeDbQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ string ThirdPartyApp
2020
{
2121
public string GenerateSqlQuery() => @"
2222
DECLARE @IdThirdPartyApp INT;
23-
SELECT @IdThirdPartyApp = IdThirdPartyApp FROM ThirdPartyApp WHERE Name = '@ThirdPartyApp';
23+
SELECT @IdThirdPartyApp = IdThirdPartyApp FROM ThirdPartyApp WHERE Name = @ThirdPartyApp;
2424
2525
UPDATE DynamicContentPromoCode
2626
SET Type = @Type,

0 commit comments

Comments
 (0)