This commit is contained in:
1 parent
e1129c305e
commit
82b63c65e7
1 file changed
+1
-4
@@ -77,7 +77,6 @@ export async function fetchAnalytics(platform: App.Platform | undefined) {
|
||||
if (d1Id) {
|
||||
d1Query = `
|
||||
d1AnalyticsAdaptiveGroups(
|
||||
limit: 10000,
|
||||
filter: { date_geq: "${thirtyDaysAgo}", databaseId: "${d1Id}" }
|
||||
) {
|
||||
sum {
|
||||
@@ -94,9 +93,7 @@ export async function fetchAnalytics(platform: App.Platform | undefined) {
|
||||
if (r2Bucket) {
|
||||
r2Query = `
|
||||
r2StorageAdaptiveGroups(
|
||||
limit: 1,
|
||||
filter: { datetime_geq: "${thirtyDaysAgo}T00:00:00Z", bucketName: "${r2Bucket}" },
|
||||
orderBy: [datetime_DESC]
|
||||
filter: { datetime_geq: "${thirtyDaysAgo}T00:00:00Z", bucketName: "${r2Bucket}" }
|
||||
) {
|
||||
max {
|
||||
payloadSize
|
||||
|
||||
Reference in new issue
Block a user