Skip to content

Commit b9405cc

Browse files
authored
Merge pull request #1237 from appwrite/fix-permissions-import
2 parents 523c165 + fad05db commit b9405cc

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

templates/dotnet/docs/example.md.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ using {{ spec.title | caseUcfirst }}.Enums;
88
{% endfor %}
99
using {{ spec.title | caseUcfirst }}.Models;
1010
using {{ spec.title | caseUcfirst }}.Services;
11-
{% if method.parameters.all | hasPermissionParam %}
12-
using {{ spec.title | caseUcfirst }}.Permission;
13-
using {{ spec.title | caseUcfirst }}.Role;
14-
{% endif %}
1511

1612
Client client = new Client()
1713
{% if method.auth|length > 0 %}

templates/swift/docs/example.md.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ import {{ spec.title | caseUcfirst }}Enums
66
{% set addedEnum = true %}
77
{% endif %}
88
{% endfor %}
9-
{% if method.parameters.all | hasPermissionParam %}
10-
import {{ spec.title | caseUcfirst }}Permission
11-
import {{ spec.title | caseUcfirst }}Role
12-
{% endif %}
139

1410
let client = Client()
1511
{% if method.auth|length > 0 %}

0 commit comments

Comments
 (0)