mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-27 20:03:01 +00:00
Fix /getprofile not working properly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user