1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

15192 fix config revision if no revisions

This commit is contained in:
Arthur
2024-02-20 10:33:06 -08:00
committed by Jeremy Stretch
parent 50e5bb9717
commit 9b9afdcf79
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ class ConfigView(generic.ObjectView):
except ConfigRevision.DoesNotExist:
# Fall back to using the active config data if no record is found
return ConfigRevision(
data=get_config()
data=get_config().defaults
)