Skip to content

Commit

Permalink
fix: remove wrong envs files
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Oct 29, 2024
1 parent 4a223d0 commit 74f75af
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 136 deletions.
23 changes: 0 additions & 23 deletions .dev.vars.example

This file was deleted.

41 changes: 0 additions & 41 deletions .env.example

This file was deleted.

16 changes: 0 additions & 16 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
S3_ENDPOINT=host.docker.internal:9000
S3_REGION=dev-region
S3_PORT=9000
S3_SSL=false
S3_ACCESS_KEY_ID=ROOTUSER
S3_SECRET_ACCESS_KEY=CHANGEME123
S3_ACCESS_KEY_ID_UPLOAD=ROOTUSER
S3_SECRET_ACCESS_KEY_UPLOAD=CHANGEME123
S3_BUCKET=capgo
STRIPE_WEBHOOK_SECRET=test
STRIPE_SECRET_KEY=test
API_SECRET=testsecret
WEBAPP_URL=https://web.capgo.app
LANDING_URL=https://capgo.app
TEST_APIKEY==*****
PLUNK_API_KEY=***
SUPABASE_URL=http://localhost:54321
SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
SUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
8 changes: 0 additions & 8 deletions supabase/.env.backend.test

This file was deleted.

30 changes: 0 additions & 30 deletions supabase/.env.example

This file was deleted.

13 changes: 0 additions & 13 deletions supabase/.env.example.s3

This file was deleted.

3 changes: 0 additions & 3 deletions supabase/.env.test

This file was deleted.

2 changes: 1 addition & 1 deletion supabase/functions/_backend/private/create_device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ app.post('/', middlewareAuth, async (c: Context) => {

if (appError) {
console.error({ requestId: c.get('requestId'), context: 'app error', error: appError })
return c.json({ status: 'app_not_found' }, 400)
return c.json({ status: 'app_not_found', app_id: safeBody.app_id }, 400)
}

const userId = clientData.data.user.id
Expand Down
1 change: 1 addition & 0 deletions supabase/functions/_backend/utils/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export async function updateWithPG(c: Context, body: AppInfos, drizzleCient: Ret
return c.json({
message: 'App not found',
error: 'app_not_found',
app_id,
}, 200)
}
if (coerce) {
Expand Down
2 changes: 1 addition & 1 deletion supabase/functions/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@logsnag/node": "https://esm.sh/@logsnag/[email protected]?target=deno",
"cron-schedule": "https://esm.sh/[email protected]?target=deno",
"drizzle-orm": "https://esm.sh/[email protected]?target=deno",
"drizzle-orm/d1": "https://esm.sh/drizzle-orm@0./d1?target=deno",
"drizzle-orm/d1": "https://esm.sh/drizzle-orm@0.35.3/d1?target=deno",
"drizzle-orm/pg-core": "https://esm.sh/[email protected]/pg-core?target=deno",
"drizzle-orm/sqlite-core": "https://esm.sh/[email protected]/sqlite-core?target=deno",
"drizzle-orm/postgres-js": "https://esm.sh/[email protected]/postgres-js?target=deno",
Expand Down

0 comments on commit 74f75af

Please sign in to comment.