Update ResumableUpload.java

This commit is contained in:
Rajnish Mishra 2020-12-18 12:35:56 +05:30 committed by GitHub
parent 477e4050b7
commit a56c7ad3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class ResumableUpload
* @param text Text to upload
* @throws IOException
*/
public void uploadString(Credential credential, com.google.api.services.drive.model.File jsonStructure, String text) throws IOException, UploadFileException
public static void uploadString(Credential credential, com.google.api.services.drive.model.File jsonStructure, String text) throws IOException, UploadFileException
{
String sessionUrl = requestUploadUrl(credential, jsonStructure);