Skip to content

Commit

Permalink
fix: change user create api key path
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF authored Apr 30, 2024
1 parent 725f616 commit 1cfacd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api/ApiKeyRedirectUrlBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace UKControllerPluginUtils::Api {
auto ApiKeyRedirectUrlBuilder::BuildUrl(const std::string& host, int port) const -> std::string
{
const auto redirectUrl = "http://" + host + ":" + std::to_string(port);
return impl->settings.Url() + "/admin/user-create-api-key/?redirect=" +
return impl->settings.Url() + "/user-create-api-key/?redirect=" +
curl_easy_escape(impl->curlHandle, redirectUrl.c_str(), redirectUrl.size());
}
} // namespace UKControllerPluginUtils::Api

0 comments on commit 1cfacd2

Please sign in to comment.