Open
Conversation
Chudopal
reviewed
Aug 25, 2022
| return hashlib.md5(data.encode('utf-8')).hexdigest() | ||
|
|
||
|
|
||
| def registrate(account): |
Owner
There was a problem hiding this comment.
получить имэйл из запроса, получить имейл из storage, сравнить и занести в storage, если не совпадают
Chudopal
requested changes
Sep 6, 2022
Owner
Chudopal
left a comment
There was a problem hiding this comment.
Надо кое-то поправить, будь более внимательным к оформлению
Comment on lines
22
to
23
|
|
||
|
No newline at end of file |
Owner
There was a problem hiding this comment.
Убрать лишние строки, в конце файла должна быть только одна пустая строка
| def reg(): | ||
| data = request.get_json() | ||
| registrate(data) | ||
| return make_response(jsonify({"result": 'OK'}), 201) No newline at end of file |
Owner
There was a problem hiding this comment.
тут добавить в конец файла пустую строку
Comment on lines
24
to
25
|
|
||
|
|
| @@ -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 | |||
Owner
There was a problem hiding this comment.
Это почистить надо, не нужно на ГХ лить какие-то данные, это сердить только для кода, json-ы всякие тут лучше хранить пустыми, если только в них не конфигурация какая-то(а это не твой случай, так что сделай его пустым)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.