Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: fix indentation

TzeYiingcc8ce2218c01
diff --git a/studio/components/interfaces/Settings/Logs/Logs.constants.ts b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
index 0f6c119ba1b..8a07fbe6177 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.constants.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
@@ -206,20 +206,20 @@ limit 100
description: 'Number of requests done on Storage Objects',
mode: 'custom',
searchString: `select
- r.method as http_verb,
- r.path as filepath,
- count(*) as num_requests
- from edge_logs
- cross join unnest(metadata) as m
- cross join unnest(m.request) AS r
- cross join unnest(r.headers) AS h
- where
- path like '%rest/v1/object%'
- group by
- r.path, r.method
- order by
- num_requests desc
- limit 100
+ r.method as http_verb,
+ r.path as filepath,
+ count(*) as num_requests
+from edge_logs
+ cross join unnest(metadata) as m
+ cross join unnest(m.request) AS r
+ cross join unnest(r.headers) AS h
+where
+ path like '%rest/v1/object%'
+group by
+ r.path, r.method
+order by
+ num_requests desc
+limit 100
`,
for: ['api'],
},
@@ -228,20 +228,20 @@ limit 100
description: 'The top Storage requests that miss caching',
mode: 'custom',
searchString: `select
- r.path as path,
- r.search as search,
- count(id) as count
- from edge_logs f
- cross join unnest(f.metadata) as m
- cross join unnest(m.request) as r
- cross join unnest(m.response) as res
- cross join unnest(res.headers) as h
- where starts_with(r.path, '/storage/v1/object')
- and r.method = 'GET'
- and h.cf_cache_status in ('MISS', 'NONE/UNKNOWN', 'EXPIRED', 'BYPASS', 'DYNAMIC')
- group by path, search
- order by count desc
- limit 100
+ r.path as path,
+ r.search as search,
+ count(id) as count
+from edge_logs f
+ cross join unnest(f.metadata) as m
+ cross join unnest(m.request) as r
+ cross join unnest(m.response) as res
+ cross join unnest(res.headers) as h
+where starts_with(r.path, '/storage/v1/object')
+ and r.method = 'GET'
+ and h.cf_cache_status in ('MISS', 'NONE/UNKNOWN', 'EXPIRED', 'BYPASS', 'DYNAMIC')
+group by path, search
+order by count desc
+limit 100
`,
for: ['api'],
},