chore(api): rename library model visibility field (#1933)

This commit is contained in:
Jonas L 2022-07-01 19:13:31 +02:00 committed by GitHub
parent b8056a9f7a
commit 2ce1053bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class Library(models.Model):
)
code = models.CharField(max_length=16, unique=True)
description = models.CharField(max_length=255, blank=True, null=True)
visible = models.BooleanField(
enabled = models.BooleanField(
blank=True,
default=True,
db_column="visibility",

View File

@ -6139,7 +6139,7 @@ components:
type: string
nullable: true
maxLength: 255
visible:
enabled:
type: boolean
required:
- code
@ -6561,7 +6561,7 @@ components:
type: string
nullable: true
maxLength: 255
visible:
enabled:
type: boolean
PatchedListenerCount:
type: object