sources/ldap: add API for sync status

This commit is contained in:
Jens Langhammer
2021-02-09 10:21:59 +01:00
parent ddb8610032
commit 2acdcf74e1
3 changed files with 64 additions and 9 deletions

View File

@ -13,7 +13,7 @@ class SourceSerializer(ModelSerializer, MetaNameSerializer):
def get_object_type(self, obj):
"""Get object type so that we know which API Endpoint to use to get the full object"""
return obj._meta.object_name.lower().replace("provider", "")
return obj._meta.object_name.lower().replace("source", "")
class Meta: