Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 04f77e9

Browse files
authored
Fix API Key Expiration mail job (#359)
1 parent 417240f commit 04f77e9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Gallery.CredentialExpiration/Strings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Gallery.CredentialExpiration/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ WHERE u.[EmailAllowed] = 1
151151
AND u.[EmailAddress] <> ''
152152
AND cr.[Expires] <= DATEADD(day,@DaysBeforeExpiration,GETUTCDATE())
153153
AND cr.[Expires] > DATEADD(day,-1 * @DaysBeforeExpiration,GETUTCDATE())
154-
AND (cr.[Type] = 'apikey.v1' or cr.[Type] = 'apikey.v2')
154+
AND (cr.[Type] = 'apikey.v3' or cr.[Type] = 'apikey.v4')
155155
ORDER BY u.[Username]</value>
156156
</data>
157157
<data name="ExpiredEmailSubject" xml:space="preserve">

0 commit comments

Comments
 (0)