diff options
author | Alex Zolotarev <alex@maps.me> | 2016-01-09 11:45:52 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:24 +0300 |
commit | 7344df35c39d8ea8281e345d64725d4cb8bd8d52 (patch) | |
tree | 46433b159a650a8a85ac9253fb2282e075f614ea /editor/server_api.hpp | |
parent | bdfb608c8d3cdbc4dd7c9d9b5c2f0ddb6e130573 (diff) |
Fixed ServerApi06::TestUserExists() method.
Diffstat (limited to 'editor/server_api.hpp')
-rw-r--r-- | editor/server_api.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/server_api.hpp b/editor/server_api.hpp index 713e6aebd6..fb0149dbf1 100644 --- a/editor/server_api.hpp +++ b/editor/server_api.hpp @@ -28,7 +28,8 @@ public: ServerApi06(OsmOAuth & auth); /// This function can be used to check if user did not confirm email validation link after registration. - bool TestUserExists(string const & userName); + /// @returns OK if user exists, NotFound if it is not, and ServerError if there is no connection. + OsmOAuth::ResponseCode TestUserExists(string const & userName); /// Please use at least created_by=* and comment=* tags. bool CreateChangeSet(TKeyValueTags const & kvTags, uint64_t & outChangeSetId) const; /// nodeXml should be wrapped into <osm> ... </osm> tags. |