Skip to content

Commit

Permalink
Point to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Jul 12, 2023
1 parent 167944e commit 2c4a9bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void UMainWidgetBase::RunMazeRunnerCommand(FString MazeRunnerBaseUrl)
{
TSharedRef<IHttpRequest, ESPMode::ThreadSafe> HttpRequest = FHttpModule::Get().CreateRequest();
HttpRequest->SetVerb("GET");
HttpRequest->SetURL(TEXT(*MazeRunnerBaseUrl "/command"));
HttpRequest->SetURL(FString::Format(TEXT("{1}/command"), MazeRunnerBaseUrl));
HttpRequest->OnProcessRequestComplete().BindLambda([](FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bConnectedSuccessfully)
{
if (!bConnectedSuccessfully || !HttpResponse.IsValid())
Expand Down

0 comments on commit 2c4a9bb

Please sign in to comment.