mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 09:48:20 +00:00
Simplified Full Example
This commit is contained in:
parent
547d0c4ca8
commit
b047c9c647
1 changed files with 1 additions and 6 deletions
|
@ -299,12 +299,7 @@ func main() {
|
|||
panic("Cannot Find Test User")
|
||||
}
|
||||
|
||||
me, err := client.GetMe(ctx)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if me.ID == users[0].ID {
|
||||
if client.GetUserID() == users[0].ID {
|
||||
fmt.Println("I am the Test User, No Need to Share Password With myself")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue