fix generating root methods

This commit is contained in:
Pavel Merzlyakov 2024-01-19 03:19:13 +03:00
parent 49cc0bd8ae
commit c9dcf199d3
1 changed files with 2 additions and 4 deletions

View File

@ -37,12 +37,10 @@ type {{ s.name }} struct {
{{ _self.table_methods(s) }}
{% endif %}
{% if has_token(s, 'data_root') %}
{{ _self.data_root_methods(s) }}
{% endif %}
{% if has_token(s, 'diff_removed') %}
{{ _self.diff_removed_methods(s) }}
{% elseif has_token(s, 'data_root') %}
{{ _self.data_root_methods(s) }}
{% endif %}
{% if json_fields|length > 0 %}