Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
import { MiddlewareConsumer, Module, NestModule } from "@nestjs/common"; | |
import { APP_INTERCEPTOR } from "@nestjs/core"; | |
import { RequestContextMiddleware } from "./request-context/request-context.middleware"; | |
import { RequestContextModule } from "./request-context/request-context.module"; | |
@Module({ | |
imports: [ | |
ConfigModule.load(path.resolve(__dirname, "config", "**/!(*.d).{ts,js}")), | |
WebappUsersModule, | |
RequestContextModule, |
// 1) Get the customer... required the get the payment method token | |
await braintreeGateway.customer.find( | |
billing_customer_id, | |
async (err, customer) => { | |
await braintreeGateway.subscription.find( | |
subscriptionId, | |
async (err, subscription) => { | |
if (err) { | |
res.status(400).json({ | |
error_message: err && err.code |
preset: laravel | |
disabled: | |
# - self_accessor | |
enabled: | |
- mb_str_functions | |
- no_homoglyph_names | |
- psr4 | |
- non_printable_character |