8000 openFile · mastashake08/screen-recorder-api@a0e5e48 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0e5e48

Browse files
committed
openFile
1 parent fe51a39 commit a0e5e48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@
127127

128128
Route::post('/stream-to-youtube', function(Request $request){
129129
$response = Http::attach(
130-
'file', $request->file->get()
130+
'file', $request->file->openFile()
131131
)->put($request->url);
132132
Log::info($response->getBody());
133133
Log::info($request->url);
134-
Log::info($request->file);
134+
Log::info($request->file->openFile());
135135
return $response;
136136
});

0 commit comments

Comments
 (0)
0