File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ export async function onRemoveEmail(email: SanitizedEmailAddressRow) {
194194 }
195195}
196196
197- const buildRecentAuthenticationError = async ( ) => {
197+ const createRecentAuthErrorResponse = async ( ) => {
198198 const l10n = getL10n ( await getAcceptLangHeaderInServerComponents ( ) ) ;
199199 return {
200200 success : false ,
@@ -223,13 +223,13 @@ export async function onDeleteAccount() {
223223 logger . warn ( "delete-account-missing-authenticated-at" , {
224224 subscriber_id : session . user . subscriber . id ,
225225 } ) ;
226- return buildRecentAuthenticationError ( ) ;
226+ return createRecentAuthErrorResponse ( ) ;
227227 }
228228 if ( Date . now ( ) - authenticatedAt > RECENT_AUTH_WINDOW_MS ) {
229229 logger . warn ( "delete-account-authenticated-at-too-old" , {
230230 subscriber_id : session . user . subscriber . id ,
231231 } ) ;
232- return buildRecentAuthenticationError ( ) ;
232+ return createRecentAuthErrorResponse ( ) ;
233233 }
234234
235235 const subscriber = await getSubscriberByFxaUid (
You can’t perform that action at this time.
0 commit comments