Skip to content

Conversation

@Denis9505
Copy link
Collaborator

No description provided.

@Denis9505 Denis9505 added the ready for review This label shows, that your task is ready and I can rewiev it. label Aug 25, 2022
@Denis9505 Denis9505 requested a review from Chudopal August 25, 2022 11:53
return hashlib.md5(data.encode('utf-8')).hexdigest()


def registrate(account):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

получить имэйл из запроса, получить имейл из storage, сравнить и занести в storage, если не совпадают

Copy link
Owner

@Chudopal Chudopal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо кое-то поправить, будь более внимательным к оформлению

Comment on lines 22 to 23


No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрать лишние строки, в конце файла должна быть только одна пустая строка

def reg():
data = request.get_json()
registrate(data)
return make_response(jsonify({"result": 'OK'}), 201) No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут добавить в конец файла пустую строку

Comment on lines 24 to 25


Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

строки...

@@ -0,0 +1 @@
[{"password": "900150983cd24fb0d6963f7d28e17f72", "email": "qwerty@qwerty.com"}, {"password": "3944b025c9ca7eec3154b44666ae04a0", "email": "qwerty1@qwerty.com"}, {"email": "denis@den.com", "password": "c3875d07f44c422f3b3bc019c23e16ae"}, {"email": "denis@den.com", "password": "c3875d07f44c422f3b3bc019c23e16ae"}, {"email": "denis@den.com", "password": "52103037f7230187f89ce58d5334cdb6"}] No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это почистить надо, не нужно на ГХ лить какие-то данные, это сердить только для кода, json-ы всякие тут лучше хранить пустыми, если только в них не конфигурация какая-то(а это не твой случай, так что сделай его пустым)

@Chudopal Chudopal added in progress This label indicates that your task is not ready, but you are working on it. and removed ready for review This label shows, that your task is ready and I can rewiev it. labels Sep 6, 2022
@Denis9505 Denis9505 added ready for review This label shows, that your task is ready and I can rewiev it. and removed in progress This label indicates that your task is not ready, but you are working on it. labels Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review This label shows, that your task is ready and I can rewiev it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants