mb23
mb23
WWasp
Created by mb23 on 4/28/2025 in #đŸ™‹questions
Users get logged out automatically
it was the multiple tabs open thing
7 replies
WWasp
Created by mb23 on 4/28/2025 in #đŸ™‹questions
If the verification email goes to spam, how can I verify a user manually? (I'm using OpenSaaS)
@franjo Thanks for getting back to me đŸ™‚ I've tried changed the isEmailVerified attribute to true in the AuthIdentity -> providerData Array but got this error message: duplicate key value violates unique constraint "AuthIdentity_pkey" Probably, I have to create a helper function that generates a new key, no?
9 replies
WWasp
Created by mb23 on 4/17/2025 in #đŸ™‹questions
Deployed wrong database
@franjo This worked đŸ™‚
17 replies
WWasp
Created by mb23 on 4/17/2025 in #đŸ™‹questions
Deployed wrong database
@kapa.ai can I just remove and re-add the database in Railway and then it will be "rebuilt" with the next server build?
17 replies
WWasp
Created by mb23 on 4/17/2025 in #đŸ™‹questions
Deployed wrong database
@kapa.ai But I have run the database migrations as part of the server build already. It says no migrations to apply. These other tables also don't appear in my migration files.
17 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
I'm getting this error when deploying my server to Railway
@miho @kapa.ai Seems like the issue happens locally as well. If I change it to "import * as cheerio from 'cheerio';", the issue changes to: [ Server!] import cheerio__default from 'cheerio'; [ Server!] ^^^^^^^^^^^^^^^^ [ Server!] SyntaxError: The requested module 'cheerio' does not provide an export named 'default' [ Server!] at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21) [ Server!] at async ModuleJob.run (node:internal/modules/esm/module_job:217:5) [ Server!] at async ModuleLoader.import (node:internal/modules/esm/loader:323:24) [ Server!] at async loadESM (node:internal/process/esm_loader:28:7) [ Server!] at async handleMainPromise (node:internal/modules/run_main:113:12)
13 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
When deploying to Railway, I'm getting this error:
@kapa.ai can I also only redeploy the database?
28 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
When deploying to Railway, I'm getting this error:
@kapa.ai Ok, now, I see my real problem. I'm developing another Wasp app and have it in Railway as well. I accidenally deployed the wrong server and database for this project đŸ˜„ It's not a huge problem since there are no users yet but how can I deploy the right server/database again?
28 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
When deploying to Railway, I'm getting this error:
@kapa.ai How can I exactly roll it back in Railway? Somehow, I think I accidentally removed a relevant column for the user entity which caused an issue.
28 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
When deploying to Railway, I'm getting this error:
@kapa.ai How exactly can I mark the migration as applied?
28 replies
WWasp
Created by mb23 on 4/16/2025 in #đŸ™‹questions
When deploying to Railway, I'm getting this error:
@kapa.ai The new migration that replaces the failed one is not deployed yet. Only locally.
28 replies
WWasp
Created by Ricardo Batista on 5/12/2024 in #đŸ™‹questions
Threat of clickjacking
@miho Thanks a bunch, happy holidays!
15 replies
WWasp
Created by Ricardo Batista on 5/12/2024 in #đŸ™‹questions
Threat of clickjacking
@miho I've got a similar email. Have you been able to look into it? đŸ™‚
15 replies
WWasp
Created by mb23 on 9/12/2024 in #đŸ™‹questions
User is logged out quite quickly
@miho ah, thanks, the 401 might be the problem! Is there any way to change this behaviour on my end?
9 replies
WWasp
Created by mb23 on 9/12/2024 in #đŸ™‹questions
User is logged out quite quickly
@miho sorry, after 3 minutes or so đŸ™‚
9 replies
WWasp
Created by mb23 on 8/28/2024 in #đŸ™‹questions
Deploying Migration fails
Thanks for your response @miho !
12 replies
WWasp
Created by mb23 on 8/28/2024 in #đŸ™‹questions
Deploying Migration fails
I have fixed this issue by removing the entry for the failed migration in the database in Railway and re-deploying the whole thing
12 replies
WWasp
Created by mb23 on 8/28/2024 in #đŸ™‹questions
Deploying Migration fails
@kapa.ai How can I access the Prisma database? Wasp only offers a limited set of options for wasp db, no?
12 replies
WWasp
Created by mb23 on 7/15/2024 in #đŸ™‹questions
How can I offer a free trial?
@martinsos @neogeofun @miho It was really quite easy. Here's the adjusted createStripeCheckoutSession code: export async function createStripeCheckoutSession({ priceId, customerId, mode, }: { priceId: string; customerId: string; mode: 'subscription' | 'payment'; }) { return await stripe.checkout.sessions.create({ line_items: [ { price: priceId, quantity: 1, }, ], mode: mode, success_url: ${DOMAIN}/checkout?success=true, cancel_url: ${DOMAIN}/checkout?canceled=true, automatic_tax: { enabled: true }, customer_update: { address: 'auto', }, customer: customerId, ...(mode === 'subscription' && { subscription_data: { trial_settings: { end_behavior: { missing_payment_method: 'cancel', }, }, trial_period_days: 7, }, }), }); }
20 replies
WWasp
Created by mb23 on 8/8/2024 in #đŸ™‹questions
Best way to use jobs/workers
@matija ok great, thanks đŸ™‚
19 replies