File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public void main() {
11
11
functions.createDeployment(
12
12
functionId = "[FUNCTION_ID]",
13
13
entrypoint = "[ENTRYPOINT]",
14
- code = File("./path-to-files/image.jpg "),
14
+ code = File("file.png "),
15
15
activate = false
16
16
new Continuation<Response>() {
17
17
@NotNull
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public void main() {
11
11
storage.createFile(
12
12
bucketId = "[BUCKET_ID]",
13
13
fileId = "[FILE_ID]",
14
- file = File("./path-to-files/image.jpg "),
14
+ file = File("file.png "),
15
15
new Continuation<Response>() {
16
16
@NotNull
17
17
@Override
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ suspend fun main() {
11
11
val response = functions.createDeployment(
12
12
functionId = "[FUNCTION_ID]",
13
13
entrypoint = "[ENTRYPOINT]",
14
- code = File("./path-to-files/image.jpg "),
14
+ code = File("file.png "),
15
15
activate = false
16
16
)
17
17
val json = response.body?.string()
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ suspend fun main() {
11
11
val response = storage.createFile(
12
12
bucketId = "[BUCKET_ID]",
13
13
fileId = "[FILE_ID]",
14
- file = File("./path-to-files/image.jpg "),
14
+ file = File("file.png "),
15
15
)
16
16
val json = response.body?.string()
17
17
}
You can’t perform that action at this time.
0 commit comments