Skip to content

Commit

Permalink
fixed session auth SID being bytes instead of str
Browse files Browse the repository at this point in the history
Thanks to WanWizard
  • Loading branch information
jbleyel committed Sep 18, 2023
1 parent 6945b78 commit a6bd9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/controllers/models/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class GetSession(Resource):
def GetSID(self, request):
sid = request.getSession().uid
sid = request.getSession().uid.decode()
return sid

def GetAuth(self, request):
Expand Down

0 comments on commit a6bd9fe

Please sign in to comment.