Browse Source

Stringify UUID in login API too

Tulir Asokan 4 năm trước cách đây
mục cha
commit
29a5f91b76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mautrix_signal/web/provisioning_api.py

+ 1 - 1
mautrix_signal/web/provisioning_api.py

@@ -145,7 +145,7 @@ class ProvisioningAPI:
                                      headers=self._headers)
         return web.json_response({
             "number": account.username,
-            "uuid": account.uuid,
+            "uuid": str(account.uuid),
         })
 
     # async def logout(self, request: web.Request) -> web.Response: