Skip to content

Commit

Permalink
Merge pull request #683 from appwrite/fix-dotnet-file-param
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar authored Jun 29, 2023
2 parents 54bed3e + e240702 commit 2716c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK/Language/DotNet.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function getParamExample(array $param): string
if (empty($example) && $example !== 0 && $example !== false) {
switch ($type) {
case self::TYPE_FILE:
$output .= 'new File("./path-to-files/image.jpg")';
$output .= 'InputFile.FromPath("./path-to-files/image.jpg")';
break;
case self::TYPE_NUMBER:
case self::TYPE_INTEGER:
Expand Down

0 comments on commit 2716c71

Please sign in to comment.