This commit is contained in:
shafi54 2026-02-08 21:43:19 +05:30
parent 637c90a771
commit 3487501d72
2 changed files with 6 additions and 4 deletions

View file

@ -11,7 +11,7 @@ import { generateSignedUrlFromS3Url } from '../../lib/s3-client';
// Toggle between notification providers: 'expo' | 'fcm'
// const NOTIFICATION_PROVIDER: 'expo' | 'fcm' = 'fcm';
// let NOTIFICATION_PROVIDER: 'expo' | 'fcm' = 'expo';
let NOTIFICATION_PROVIDER: string = 'expo';
let NOTIFICATION_PROVIDER: string = 'expo';
async function createUserByMobile(mobile: string): Promise<typeof users.$inferSelect> {
// Clean mobile number (remove non-digits)

View file

@ -22,9 +22,11 @@ export const fileUploadRouter = router({
folder = 'review-images';
} else if(contextString === 'product_info') {
folder = 'product-images';
} else if(contextString === 'review_response') {
folder = 'review-response-images'
} else if(contextString === 'notification') {
}
// else if(contextString === 'review_response') {
// folder = 'review-response-images'
// }
else if(contextString === 'notification') {
folder = 'notification-images'
} else {
folder = '';