Updating error message in xproto
Change-Id: I21ff9746e61f83d83c7cc64c452913d1299b49f9
diff --git a/lib/xos-genx/xosgenx/targets/service.xtarget b/lib/xos-genx/xosgenx/targets/service.xtarget
index 7b40110..e5816ab 100644
--- a/lib/xos-genx/xosgenx/targets/service.xtarget
+++ b/lib/xos-genx/xosgenx/targets/service.xtarget
@@ -56,7 +56,7 @@
app_label = {{ xproto_first_non_empty([m.options.app_label, options.app_label, options.name, "Set an app label in your xproto!"]) | lower}}
# name = {{ xproto_first_non_empty([m.options.name, options.name, "Set a name in your xproto!"]) }}
verbose_name = "{{ xproto_unquote(xproto_first_non_empty([m.options.verbose_name, m.name])) }}"
- {%- set uniques = xproto_field_graph_components(m.fields) %}
+ {%- set uniques = xproto_field_graph_components(m.fields, m) %}
{%- if uniques %}
unique_together = {{ xproto_tuplify(uniques) }}
{%- endif %}