Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
|
@@ -2004,7 +2004,7 @@ result <- tryCatch({
|
|
| 2004 |
|
| 2005 |
# Build JSON manually to avoid serialization issues
|
| 2006 |
json_body <- sprintf(
|
| 2007 |
-
'{"summary":"Update %s","operations":[{"operation":"upload","path_in_repo":"%s","
|
| 2008 |
filename, filename, file_b64
|
| 2009 |
)
|
| 2010 |
|
|
|
|
| 2004 |
|
| 2005 |
# Build JSON manually to avoid serialization issues
|
| 2006 |
json_body <- sprintf(
|
| 2007 |
+
'{"summary":"Update %s","operations":[{"operation":"upload","path_in_repo":"%s","encoding":"base64","content":"%s"}]}',
|
| 2008 |
filename, filename, file_b64
|
| 2009 |
)
|
| 2010 |
|