File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/apps/paghiper/src/functions-lib Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,10 @@ import type { Orders } from '@cloudcommerce/types';
22import type { Request , Response } from 'firebase-functions/v1' ;
33import api from '@cloudcommerce/api' ;
44import { Endpoint } from '@cloudcommerce/api/types' ;
5- import config , { logger } from '@cloudcommerce/firebase/lib/config' ;
5+ import { logger } from '@cloudcommerce/firebase/lib/config' ;
66import getAppData from '@cloudcommerce/firebase/lib/helpers/get-app-data' ;
77import createAxios from './create-axios' ;
88
9- const { apps } = config . get ( ) ;
10-
119const CLIENT_ERR = 'invalidClient' ;
1210
1311const listOrdersByTransaction = async ( transactionCode : string ) => {
@@ -172,7 +170,7 @@ export default async (req: Request, res: Response) => {
172170 } ) ;
173171 }
174172 } ;
175- await handleNotification ( ) ;
173+ return await handleNotification ( ) ;
176174 }
177175
178176 return res . status ( 400 ) . send ( 'API key does not match' ) ;
You can’t perform that action at this time.
0 commit comments