Skip to content

Commit

Permalink
fix: maximum of input limit
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesuazo committed May 18, 2024
1 parent 695188c commit 36c1535
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## add env to eas.json

```bash
eas build --platform android --profile development
eas build --platform android --profile preview

eas build --platform android --profile production

eas submit --platform android
```
13 changes: 8 additions & 5 deletions apps/mobile/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build": {
"base": {
"node": "18.16.1",
"developmentClient": false,
"env": {
"EXPO_PUBLIC_SUPABASE_URL": "https://tpnvxkhrqpspsawssdit.supabase.co",
"EXPO_PUBLIC_SUPABASE_ANON_KEY": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRwbnZ4a2hycXBzcHNhd3NzZGl0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDk4MTI0NzYsImV4cCI6MjAyNTM4ODQ3Nn0.rBZ27tkAVERoM7ZOYtzeS0ChaDigcKyJfLQcDRyi-PM"
Expand All @@ -17,8 +18,7 @@
},
"development": {
"extends": "base",
"developmentClient": false,
"distribution": "internal",
"developmentClient": true,
"android": {
"buildType": "apk"
},
Expand All @@ -28,13 +28,16 @@
},
"preview": {
"extends": "base",
"developmentClient": false,
"distribution": "internal",
"android": {
"buildType": "app-bundle"
"buildType": "apk"
}
},
"production": {
"extends": "base"
"extends": "base",
"android": {
"buildType": "app-bundle"
}
}
},
"submit": {
Expand Down
6 changes: 4 additions & 2 deletions packages/api/src/router/mobile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,12 @@ export const mobileRouter = {
.mutation(async ({ input, ctx }) => {
const { data: words, error: words_error } = await ctx.supabase
.from("words")
.select();
.select()
.is("deleted_at", null);
const { data: phrases, error: phrases_error } = await ctx.supabase
.from("phrases")
.select();
.select()
.is("deleted_at", null);

if (words_error)
throw new TRPCError({
Expand Down

0 comments on commit 36c1535

Please sign in to comment.