06/03 Optimize codes, move account action buttons to Accounts page
This commit is contained in:
@@ -294,6 +294,9 @@ def full_resync(teller_account_id):
|
||||
f'Next sync will fetch the last 90 days — duplicates will be skipped automatically.',
|
||||
'info'
|
||||
)
|
||||
next_url = request.form.get('next', '')
|
||||
if next_url and next_url.startswith('/'):
|
||||
return redirect(next_url)
|
||||
return redirect(url_for('teller.index'))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user