-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-GSGroupMemberListPrivate fails with 0 members in group #77
Comments
thanks, @arnoutvandervorst ! nice catch! |
Np, thanks for the great library, use it a lot! |
That's awesome, I'm glad to hear it!! Working on this ASAP, just need to clean up my current workspace to get prepped for the next release soon 😃 I'll make sure to include this, should be within the next couple days! |
…ot.GChat.Backend #### 2.13.0 * Fixed: Private list functions to check if a value is actually returned before adding members to the returned objects ([Issue #77](#77)) * Added: `Update-GSChatMessage` to allow updating existing messages in Chat (i.e. on Card Clicked events) * Updated: Order of parameters in `Get-GSToken` to place `Scopes` first, as it's the only required parameter * Updated: `Get-GSChatSpace` now updates the config with Space names/shortnames for ease of use * Updated: `Send-GSChatMessage` to also support calling the REST API as an additional option. This is necessary for PoshBot due to the deserialization of objects passed back to result parser breaking the Google SDK type references * Updated: `Get-GSChatConfig` to always fetch the latest config if no ConfigName is passed instead of using `Show-PSGSuiteConfig` * Updated: `Set-PSGSuiteConfig` to refresh the Spaces dictionary each time in order to remove stale spaces (i.e. on removal of bot from a Room or DM) * Fixed: `Add-GSChatOnClick` now properly builds the hashtable for the Webhook object * Updated: `Get-GSUser` to allow passing User ID's instead of emails by checking if value passed is a `decimal` before concatenating the domain name.
@arnoutvandervorst deployed as of now in v2.13.0! Thanks again! |
I'm getting an error when I try to list groups for many users.
[image: image.png]
Is it related to this issue?
…On Wed, Aug 15, 2018 at 2:06 PM Nate Ferrell ***@***.***> wrote:
@arnoutvandervorst <https://github.com/arnoutvandervorst> deployed as of
now in v2.13.0! Thanks again!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#77 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AggCMr51i9nd6iOOC9yjF-E679dp2jppks5uQ7pTgaJpZM4VwEwh>
.
--
*Samuel QUEK*
*IT Associate Director*
*Taipei American School*
800 Chung Shan N. Rd., Section 6 | Taipei | Taiwan ROC 11152
Tel: 886-2-2873-9900 ext 286
www.tas.edu.tw
*TAS is Green:* Please consider the environment before printing this email.
--
Confidentiality Notice: The information contained in this message may
be
privileged and confidential and protected from disclosure. If the reader
of
this message is not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, you are
hereby notified
that any dissemination, distribution, or copying of this
communication is
strictly prohibited. If you have received this
communication in error, please
notify us immediately by replying to the
message and deleting it from your
computer. Thank you.
|
@queks I don't think it's the same issue since this was specific to trying to run |
On line 46 of Get-GSGroupMemberListPrivate.ps1, I would recommend to do this:
if ($null -ne $result.MembersValue) { $result.MembersValue | Add-Member -MemberType NoteProperty -Name 'Group' -Value $Id -PassThru | Add-Member -MemberType ScriptMethod -Name ToString -Value {$this.Email} -PassThru -Force }
Otherwise the Add-Member will fail with you do this on a group with 0 members.
The text was updated successfully, but these errors were encountered: