mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
cleanups
This commit is contained in:
parent
5b34b6da86
commit
fb0ce5892b
4 changed files with 21 additions and 13 deletions
|
@ -20,8 +20,8 @@ type PasswordExpirySettings struct {
|
|||
ModifiedBy string `json:"modified_by"`
|
||||
}
|
||||
|
||||
// GetServerPasswordExpirySettings gets the servers password expiry settings
|
||||
func (c *Client) GetServerPasswordExpirySettings(ctx context.Context) (*PasswordExpirySettings, error) {
|
||||
// getServerPasswordExpirySettings gets the servers password expiry settings
|
||||
func (c *Client) getServerPasswordExpirySettings(ctx context.Context) (*PasswordExpirySettings, error) {
|
||||
msg, err := c.DoCustomRequestV5(ctx, "GET", "/password-expiry/settings.json", nil, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue