Skip to content

Commit

Permalink
Merge branch 'main' into CA-197-Show-an-error-message-to-the-user-whe…
Browse files Browse the repository at this point in the history
…n-he-tries-to-create-an-object-with-the-same-name-as-another-object-in-the-same-scope
  • Loading branch information
eric-intuitem committed Mar 13, 2024
2 parents ac755a9 + 32fec32 commit e8b682a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/utils/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const RiskAssessmentSchema = baseNamedObject({
});

export const ThreatSchema = baseNamedObject({
folder: z.string(),
provider: z.string().optional()
folder: z.string(),
provider: z.string().optional().nullable()
});

export const RiskScenarioSchema = baseNamedObject({
Expand Down

0 comments on commit e8b682a

Please sign in to comment.