update cpprest petstore sample

This commit is contained in:
wing328
2017-03-11 20:40:22 +08:00
parent 3dfa423151
commit 82ccbc09f7
3 changed files with 8 additions and 8 deletions

View File

@@ -616,7 +616,7 @@ pplx::task<std::shared_ptr<User>> UserApi::getUserByName(utility::string_t usern
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling getUserByName: unsupported response type"));
}
return result;
@@ -751,7 +751,7 @@ pplx::task<utility::string_t> UserApi::loginUser(utility::string_t username, uti
else
{
throw ApiException(500
, U("error calling findPetsByStatus: unsupported response type"));
, U("error calling loginUser: unsupported response type"));
}
return result;