Skip to content

Commit

Permalink
fix: json-schemaミスってたのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nafu-at committed Aug 17, 2024
1 parent 4fae912 commit cd337ef
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/backend/src/models/json-schema/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,16 @@ export const packedUserLiteSchema = {
},
},
},
subscriptionStatus: {
type: 'string',
enum: ['incomplete', 'incomplete_expired', 'trialing', 'active', 'past_due', 'paused', 'canceled', 'unpaid', 'none'],
nullable: false, optional: false,
},
subscriptionPlanId: {
type: 'string',
format: 'id',
nullable: true, optional: false,
},
},
subscriptionStatus: {
type: 'string',
enum: ['incomplete', 'incomplete_expired', 'trialing', 'active', 'past_due', 'paused', 'canceled', 'unpaid', 'none'],
nullable: false, optional: false,
},
subscriptionPlanId: {
type: 'string',
format: 'id',
nullable: true, optional: false,
},
},
} as const;
Expand Down

0 comments on commit cd337ef

Please sign in to comment.