Move MinecraftProfile from the profiles app into the minecraft app, and stop using the auth profiles feature.
Might go back to auth profiles if a suitable use can be found.
This commit is contained in:
@@ -34,7 +34,7 @@ class MOTDHandler(AnonymousBaseHandler):
|
||||
class BalanceHandler(BaseHandler):
|
||||
def read(self, request):
|
||||
user = request.user
|
||||
return {"balance":user.get_profile().currencyaccount.balance}
|
||||
return {"balance":user.minecraftprofile.currencyaccount.balance}
|
||||
|
||||
class ServerHandler(AnonymousBaseHandler):
|
||||
allowed_methods = ('GET',)
|
||||
|
Reference in New Issue
Block a user