diff --git a/rowers/polarstuff.py b/rowers/polarstuff.py index c092e54b..5ee076f6 100644 --- a/rowers/polarstuff.py +++ b/rowers/polarstuff.py @@ -23,6 +23,7 @@ import os,sys import gzip import base64 import yaml + from uuid import uuid4 from requests import ConnectionError from json.decoder import JSONDecodeError @@ -363,7 +364,7 @@ def register_user(user, token): } params = { - 'member-id': str(user.id) + 'member-id': uuid4().hex } url = baseurl+'/users'