Skip to content

Commit f04abf6

Browse files
authored
Merge pull request #103 from arup-group/task/OGH-15-posthog-cloud
OGH-15 Update posthog key and url
2 parents 5f23eca + 5552e50 commit f04abf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GH_UnitNumber/GH_UnitNumberInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal sealed class GH_UnitNumberPluginInfo {
5050
GH_UnitNumberInfo.PluginName,
5151
GH_UnitNumberInfo.Vers,
5252
GH_UnitNumberInfo.isBeta,
53-
"phc_alOp3OccDM3D18xJTWDoW44Y1cJvbEScm5LJSX8qnhs"
53+
"phc_QjmqOoe8GqTMi3u88ynRR3WWvrJA9zAaqcQS1FDVnJD"
5454
));
5555
}
5656
}

OasysGH/Helpers/PostHog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static async Task<HttpResponseMessage> SendToPostHog(OasysPluginInfo plug
105105
var container = new PhContainer(pluginInfo.PostHogApiKey, eventName, properties);
106106
string body = JsonConvert.SerializeObject(container);
107107
var content = new StringContent(body, Encoding.UTF8, "application/json");
108-
HttpResponseMessage response = await phClient.PostAsync("https://posthog.insights.arup.com/capture/", content);
108+
HttpResponseMessage response = await phClient.PostAsync("https://eu.posthog.com/capture/", content);
109109
return response;
110110
}
111111
}

OasysGH/OasysPluginInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal sealed class PluginInfo {
2929

3030
private static readonly Lazy<OasysPluginInfo> lazy =
3131
new Lazy<OasysPluginInfo>(() => new OasysPluginInfo(
32-
"Oasys Shared Grasshopper", "OasysGH", OasysGHVersion.Version, OasysGHVersion.IsBeta, "phc_alOp3OccDM3D18xJTWDoW44Y1cJvbEScm5LJSX8qnhs"
32+
"Oasys Shared Grasshopper", "OasysGH", OasysGHVersion.Version, OasysGHVersion.IsBeta, "phc_QjmqOoe8GqTMi3u88ynRR3WWvrJA9zAaqcQS1FDVnJD"
3333
));
3434
}
3535
}

0 commit comments

Comments
 (0)