Skip to content

Commit bb1ca19

Browse files
committed
Update API endpoint for recovery key generation in new user flow
- Changed the API endpoint for generating recovery keys from './api/user/recovery-key/generate' to './auth/recovery-key/generate' to align with the updated backend structure.
1 parent fdd79a0 commit bb1ca19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/static/js/new-user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
requestData.two_factor_code = twoFactorCode;
300300
}
301301

302-
HuntarrUtils.fetchWithTimeout('./api/user/recovery-key/generate', {
302+
HuntarrUtils.fetchWithTimeout('./auth/recovery-key/generate', {
303303
method: 'POST',
304304
headers: { 'Content-Type': 'application/json' },
305305
body: JSON.stringify(requestData)

0 commit comments

Comments
 (0)