mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
Fix ImportError in Account.delete (oauth2 -> token).
This commit is contained in:
@@ -380,7 +380,7 @@ class Account(Thing):
|
||||
|
||||
# Remove OAuth2Client developer permissions. This will delete any
|
||||
# clients for which this account is the sole developer.
|
||||
from r2.models.oauth2 import OAuth2Client
|
||||
from r2.models.token import OAuth2Client
|
||||
for client in OAuth2Client._by_developer(self):
|
||||
client.remove_developer(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user