Skip to content

Commit 5846922

Browse files
update routes
1 parent 40670bb commit 5846922

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-table/tx-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function getTransactions({
3535
}) {
3636
const transactions = await engineCloudProxy<{ result: TransactionsResponse }>(
3737
{
38-
pathname: "/project/transactions/search",
38+
pathname: "/transactions/search",
3939
method: "POST",
4040
headers: {
4141
"Content-Type": "application/json",

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/lib/analytics.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function getTransactionAnalyticsSummary(props: {
4343

4444
try {
4545
const response = await fetch(
46-
`${THIRDWEB_ENGINE_CLOUD_URL}/project/transactions/analytics-summary`,
46+
`${THIRDWEB_ENGINE_CLOUD_URL}/transactions/analytics-summary`,
4747
{
4848
method: "POST",
4949
headers: {
@@ -102,7 +102,7 @@ export async function getTransactionsChart({
102102
};
103103

104104
const response = await fetch(
105-
`${THIRDWEB_ENGINE_CLOUD_URL}/project/transactions/analytics`,
105+
`${THIRDWEB_ENGINE_CLOUD_URL}/transactions/analytics`,
106106
{
107107
method: "POST",
108108
headers: {
@@ -172,7 +172,7 @@ export async function getSingleTransaction({
172172
};
173173

174174
const response = await fetch(
175-
`${THIRDWEB_ENGINE_CLOUD_URL}/project/transactions/search`,
175+
`${THIRDWEB_ENGINE_CLOUD_URL}/transactions/search`,
176176
{
177177
method: "POST",
178178
headers: {

0 commit comments

Comments
 (0)