Skip to content

Commit

Permalink
Update definitions to $defs
Browse files Browse the repository at this point in the history
This seems to be a breaking change in pydantics json schema export function.
  • Loading branch information
mvandenburgh committed Feb 9, 2024
1 parent 150297c commit cd5cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/CreateDandisetView/CreateDandisetView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const descriptionMaxLength: ComputedRef<number> = computed(
() => store.schema.properties.description.maxLength,
);
const dandiLicenses: ComputedRef<LicenseType[]> = computed(
() => store.schema.definitions.LicenseType.enum,
() => store.schema.$defs.LicenseType.enum,
);
if (!loggedIn()) {
Expand Down

0 comments on commit cd5cd04

Please sign in to comment.