Skip to content

Commit

Permalink
coupon
Browse files Browse the repository at this point in the history
  • Loading branch information
chitalian committed Sep 18, 2024
1 parent c88f085 commit 4a9617b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion valhalla/jawn/src/managers/stripe/StripeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ WHERE (${builtFilter.filter})`,

private shouldApplyCoupon(): boolean {
const currentDate = new Date();
const cutoffDate = new Date("2023-10-10");
const cutoffDate = new Date("2024-10-15");
return currentDate < cutoffDate;
}

Expand Down
8 changes: 3 additions & 5 deletions web/lib/clients/jawnTypes/public.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
type JsonValue = string | number | boolean | null | JsonArray | JsonObject;
interface JsonArray extends Array<JsonValue> {}
interface JsonObject { [key: string]: JsonValue; }

/**
* This file was auto-generated by openapi-typescript.
* Do not make direct changes to the file.
Expand Down Expand Up @@ -1697,7 +1693,9 @@ export interface components {
error: null;
};
"Result_Property-Array.string_": components["schemas"]["ResultSuccess_Property-Array_"] | components["schemas"]["ResultError_string_"];
Json: JsonObject;
Json: (string | number | boolean | {
[key: string]: components["schemas"]["Json"];
} | components["schemas"]["Json"][]) | null;
IntegrationCreateParams: {
integration_name: string;
settings?: components["schemas"]["Json"];
Expand Down

0 comments on commit 4a9617b

Please sign in to comment.