Skip to content

Commit

Permalink
Fix /getprofile not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Nov 10, 2023
1 parent 51b65ec commit 4620873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handler/interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,8 @@ std::string getProfile(RESPONSE_CALLBACK_ARGS)

contents.emplace("token", token);
contents.emplace("profile_data", base64Encode(global.managedConfigPrefix + "/getprofile?" + joinArguments(argument)));
request.argument = argument;
std::copy(argument.cbegin(), argument.cend(), std::inserter(contents, contents.end()));
request.argument = contents;
return subconverter(request, response);
}

Expand Down

0 comments on commit 4620873

Please sign in to comment.