googleworkspace / apps-script-samples

Apps Script samples for Google Workspace products.
https://developers.google.com/apps-script
Apache License 2.0
4.49k stars 1.83k forks source link

Update adminSDK.gs #473

Open JonathanTylerCombs opened 2 months ago

JonathanTylerCombs commented 2 months ago

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Is it been tested?

Checklist

google-cla[bot] commented 2 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

myHerbDev commented 3 weeks ago

From 80eef583858ad4f4c5263b7d08cf82ff3066bf31 Mon Sep 17 00:00:00 2001 From: Jonathan Combs 150135962+JonathanTylerCombs@users.noreply.github.com Date: Thu, 4 Jul 2024 00:37:55 -0400 Subject: [PATCH] Update adminSDK.gs


 advanced/adminSDK.gs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/advanced/adminSDK.gs b/advanced/adminSDK.gs
index c0aed633d..d3df86e98 100644
--- a/advanced/adminSDK.gs
+++ b/advanced/adminSDK.gs
@@ -443,6 +443,7 @@ function getSubscriptions() {
   do {
     result = AdminReseller.Subscriptions.list({
       pageToken: pageToken
+
     });
     for (const sub of result.subscriptions) {
       const creationDate = new Date();
@@ -455,3 +456,4 @@ function getSubscriptions() {
   } while (pageToken);
 }
 // [END apps_script_admin_sdk_get_subscriptions]
+https://github.com/JonathanTylerCombs