mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-05 03:02:06 +00:00
Fix /getprofile not working properly
This commit is contained in:
1 file changed
+2
-1
@@ -1255,7 +1255,8 @@ std::string getProfile(RESPONSE_CALLBACK_ARGS)
|
|||||||
|
|
||||||
contents.emplace("token", token);
|
contents.emplace("token", token);
|
||||||
contents.emplace("profile_data", base64Encode(global.managedConfigPrefix + "/getprofile?" + joinArguments(argument)));
|
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);
|
return subconverter(request, response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user