Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2022-01-21 16:25:15 +01:00
parent 21799dcc9f
commit b0a9dccf7a

View File

@@ -23,6 +23,7 @@ import os,sys
import gzip import gzip
import base64 import base64
import yaml import yaml
from uuid import uuid4 from uuid import uuid4
from requests import ConnectionError from requests import ConnectionError
from json.decoder import JSONDecodeError from json.decoder import JSONDecodeError
@@ -363,7 +364,7 @@ def register_user(user, token):
} }
params = { params = {
'member-id': str(user.id) 'member-id': uuid4().hex
} }
url = baseurl+'/users' url = baseurl+'/users'