fix: correct typos across codebase (#41038)

- Fix 'occured' -> 'occurred' in ErrorDetailsButton.tsx

- Fix 'requried' -> 'required' in storage bucket mutations

- Fix 'reponse' -> 'response' in API spec files

- Fix 'localy' -> 'locally' and 'depoy' -> 'deploy' in README

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
This commit is contained in:
Peyton NowlinandChris Chinchilla authored and GitHub committed 2026-01-15 05:15:18 +00:00
1 parent eb81b2a340
commit bf250547f6
10 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -5513,7 +5513,7 @@ functions:
(2, 'viola'),
(3, 'cello');
```
reponse: |
response: |
```json
[
{
+1 -1
View File
@@ -6083,7 +6083,7 @@ functions:
(2, 'Leia'),
(3, 'Han');
```
reponse: |
response: |
```json
{
"data": [
+1 -1
View File
@@ -6109,7 +6109,7 @@ functions:
(2, 'Earth'),
(3, 'Mars');
```
reponse: |
response: |
```json
{
"data": [
+1 -1
View File
@@ -2070,7 +2070,7 @@ functions:
(2, 'viola'),
(3, 'cello');
```
reponse: |
response: |
```json
{
"data": [
+1 -1
View File
@@ -3119,7 +3119,7 @@ functions:
(2, 'viola'),
(3, 'cello');
```
reponse: |
response: |
```json
{
"data": [
@@ -12,7 +12,7 @@ type AnalyticsBucketDeleteVariables = {
async function deleteAnalyticsBucket({ projectRef, id }: AnalyticsBucketDeleteVariables) {
if (!projectRef) throw new Error('projectRef is required')
if (!id) throw new Error('Bucket name is requried')
if (!id) throw new Error('Bucket name is required')
const { data, error } = await del('/platform/storage/{ref}/analytics-buckets/{id}', {
params: { path: { ref: projectRef, id } },
@@ -13,7 +13,7 @@ type BucketDeleteVariables = {
async function deleteBucket({ projectRef, id }: BucketDeleteVariables) {
if (!projectRef) throw new Error('projectRef is required')
if (!id) throw new Error('Bucket name is requried')
if (!id) throw new Error('Bucket name is required')
const { error: emptyBucketError } = await post('/platform/storage/{ref}/buckets/{id}/empty', {
params: { path: { ref: projectRef, id } },
@@ -12,7 +12,7 @@ export type BucketEmptyVariables = {
export async function emptyBucket({ projectRef, id }: BucketEmptyVariables) {
if (!projectRef) throw new Error('projectRef is required')
if (!id) throw new Error('Bucket name is requried')
if (!id) throw new Error('Bucket name is required')
const { data, error } = await post('/platform/storage/{ref}/buckets/{id}/empty', {
params: { path: { id, ref: projectRef } },
@@ -31,7 +31,7 @@ async function updateBucket({
allowed_mime_types,
}: BucketUpdateVariables): Promise<BucketUpdateResult> {
if (!projectRef) throw new Error('projectRef is required')
if (!id) throw new Error('Bucket name is requried')
if (!id) throw new Error('Bucket name is required')
const payload: Partial<UpdateStorageBucketBody> = { public: isPublic }
if (file_size_limit !== undefined) payload.file_size_limit = file_size_limit
+2 -2
View File
@@ -38,11 +38,11 @@ Then run the function
supabase functions serve og-images
```
Now we can visit [localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth](http://localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth) to see your changes localy.
Now we can visit [localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth](http://localhost:54321/functions/v1/og-images/?site=docs&title=Title&description=Description&type=Auth) to see your changes locally.
## Deploy
To deploy this function, you currently need to depoy it locally. To do this follow the steps below.
To deploy this function, you currently need to deploy it locally. To do this follow the steps below.
```bash
supabase functions deploy og-images --no-verify-jwt