diff --git a/src/SDK/Language/DotNet.php b/src/SDK/Language/DotNet.php index a15764a4b..ea54c5a76 100644 --- a/src/SDK/Language/DotNet.php +++ b/src/SDK/Language/DotNet.php @@ -397,7 +397,7 @@ public function getFiles(): array ], [ 'scope' => 'enum', - 'destination' => '/src/{{ spec.title | caseUcfirst }}/Enums/{{ definition.name | caseUcfirst | overrideIdentifier }}.cs', + 'destination' => '/src/{{ spec.title | caseUcfirst }}/Enums/{{ enum.name | caseUcfirst | overrideIdentifier }}.cs', 'template' => 'dotnet/src/Appwrite/Enums/Enums.cs.twig', ] ];