Fix override default parameter in attachment upload

This commit is contained in:
OpenClaw committed 2026-03-07 09:36:14 +08:00
1 parent 1abb1961b8
commit 9c22b2e99d
1 file changed
+1 -1
@@ -144,7 +144,7 @@ class RemoteOpenClawRepository(
sessionId: String,
fileName: String,
bytes: ByteArray,
contentType: String? = null,
contentType: String?,
) {
val currentMessages = messageStore[sessionId].orEmpty()
val localId = "local-attachment-$sessionId-${currentMessages.size + 1}"