Skip to content

Commit

Permalink
Update Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py
Browse files Browse the repository at this point in the history
Co-authored-by: ostolero <86190583+ostolero@users.noreply.github.com>
  • Loading branch information
GalNakash-RecoLabs and ostolero committed Aug 16, 2023
1 parent cd77da6 commit 431d3ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Packs/GoogleDrive/Integrations/GoogleDrive/GoogleDrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ def file_replace_existing_command(client: 'GSuiteClient', args: dict[str, str])
return handle_response_file_single(file, args)


@logger
def modify_label_command(client: 'GSuiteClient', args: dict[str, str]) -> CommandResults:
modify_label_request_res = prepare_file_modify_labels_request(
client, args, scopes=COMMAND_SCOPES['MODIFY_LABELS_PERMISSIONS_CRUD'])
Expand Down Expand Up @@ -1272,7 +1273,7 @@ def get_labels_command(client: 'GSuiteClient', args: dict[str, str]) -> CommandR
http_request_params = modify_label_request_res['http_request_params']

full_url = URLS['DRIVE_LABELS'] + '?' + urllib.parse.urlencode(http_request_params)
demisto.log(full_url)
demisto.info(f'full url for get labels is: {full_url}')
response = client.http_request(full_url=full_url, method='GET')

outputs_context = {
Expand Down

0 comments on commit 431d3ae

Please sign in to comment.