File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,15 @@ exports.sync_diagram = functions.https.onRequest(async (req, res) => {
5151 const supportedProductIds = ( functions . config ( ) . paddle . product_ids || '' )
5252 . split ( ',' )
5353 . filter ( Boolean ) ;
54- const checkSupportedProductIds = ( productId ) =>
55- Boolean ( productId && supportedProductIds . includes ( productId ) ) ;
54+ const checkSupportedProductIds = ( productId ) => {
55+ return productId && supportedProductIds . includes ( productId ) ;
56+ } ;
5657
57- exports . supportedProductIds = functions . https . onRequest ( async ( req , res ) => {
58- res . status ( 200 ) . send ( JSON . stringify ( supportedProductIds ) ) ;
59- } ) ;
58+ exports . supported_product_ids = functions . https . onRequest (
59+ async ( req , res ) => {
60+ res . status ( 200 ) . send ( JSON . stringify ( supportedProductIds ) ) ;
61+ } ,
62+ ) ;
6063
6164 const replaceBaseUrlInShareLink = ( responseData ) => {
6265 const data = JSON . parse ( responseData ) ;
You can’t perform that action at this time.
0 commit comments