Skip to content

Commit e99e74d

Browse files
committed
chor: dotnet use List<object>
1 parent e5043f1 commit e99e74d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

templates/dotnet/src/Appwrite/Query.cs.twig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ namespace Appwrite
1010
{
1111
public string method;
1212
public string? attribute;
13-
public object? values;
13+
public List<object>? values;
1414

1515
public Query(string method, string? attribute, object? values)
1616
{
1717
this.method = method;
1818
this.attribute = attribute;
1919

20-
if (values == null || (values is IList)) {
21-
this.values = values;
20+
if (values == null || values is IList)
21+
{
22+
this.values = (List<object>?)values;
2223
} else {
2324
this.values = new List<object> { values };
2425
}

0 commit comments

Comments
 (0)