Commit c7fa55c9 authored by Hervé Ménager's avatar Hervé Ménager
Browse files

add providerId attr to LabsLink link element

parent 25503f65
Pipeline #45758 passed with stage
in 37 seconds
......@@ -43,7 +43,7 @@ class Serializer(BaseSerializer):
obj_pk = obj.pk
if obj_pk is not None:
attrs["pk"] = str(obj_pk)
self.xml.startElement("link", {})
self.xml.startElement("link", {'providerId': settings.LABLINKS_PROVIDER_ID})
self.xml.startElement("resource", {})
self.indent(3)
self.xml.startElement("title", {})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment