Skip to content

Commit f8b9ad7

Browse files
committed
fix get_model call
1 parent 88e7767 commit f8b9ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox_custom_objects/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def wrapped_post_through_setup(self, cls):
538538

539539
def get_model_with_serializer(self):
540540
from netbox_custom_objects.api.serializers import get_serializer_class
541-
model = self.get_model(no_cache=True)
541+
model = self.get_model()
542542
get_serializer_class(model)
543543
self.register_custom_object_search_index(model)
544544
return model

0 commit comments

Comments
 (0)