This commit is contained in:
Egor Guslyancev 2024-05-03 15:35:57 -03:00
parent 9a665c6e68
commit 9c812a2f24
GPG Key ID: D7E709AA465A55F9
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ class S(BaseHTTPRequestHandler):
if 'access' not in data:
data['access'] = []
data['access'].append(target_user)
data['access'] = list(set(data['access']))
db.write(f'tests.{test_id}', data)
self._set_response(200)
self.end_headers()