enh
This commit is contained in:
parent
637c90a771
commit
3487501d72
2 changed files with 6 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue