Skip to content

Commit a6f37d1

Browse files
committed
Fix createFloatAttribute parameter types
1 parent 50bc4c7 commit a6f37d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/io/appwrite/services/Database.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ class Database(client: Client) : Service(client) {
400400
collectionId: String,
401401
key: String,
402402
required: Boolean,
403-
min: String? = null,
404-
max: String? = null,
405-
default: String? = null,
403+
min: Double? = null,
404+
max: Double? = null,
405+
default: Double? = null,
406406
array: Boolean? = null
407407
): io.appwrite.models.AttributeFloat {
408408
val path = "/database/collections/{collectionId}/attributes/float".replace("{collectionId}", collectionId)

0 commit comments

Comments
 (0)