appwrite / sdk-for-android

[READ-ONLY] Official Appwrite Android SDK 💚 🤖
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
98 stars 21 forks source link

🐛 Bug Report: functions.createExecution() throwing java.lang.ClassCastException #19

Closed SebastianTMo closed 2 years ago

SebastianTMo commented 2 years ago

👟 Reproduction steps

Appwrite Version 0.12 / SDK Version 0.3.0 Create a function execution via functions.createExecution()

👍 Expected behavior

Get the respective ExecutionObject and the function to be executed.

👎 Actual Behavior

Function is not being executed.

java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Double due to https://github.com/appwrite/sdk-for-android/blob/2d0eecda71f1d85a73f658a9ae08656197e204d4/library/src/main/java/io/appwrite/models/Execution.kt#L79

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?