Skip to content

Commit e2f43da

Browse files
fix typo
1 parent d10f22b commit e2f43da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/dart/lib/src/input_file.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class InputFile {
99
@Deprecated('Use `InputFile.fromPath` or `InputFile.fromBytes` instead.')
1010
InputFile({this.path, this.filename, this.contentType, this.bytes}) {
1111
if (path == null && bytes == null) {
12-
throw AppwriteException('One of `path` or `bytes` is required');
12+
throw {{ spec.title | caseUcfirst }}Exception('One of `path` or `bytes` is required');
1313
}
1414
}
1515

0 commit comments

Comments
 (0)