fix tests
This commit is contained in:
+6
-6
@@ -1,11 +1,11 @@
|
|||||||
type ProfileData struct {
|
|
||||||
Name *string `json:"name"`
|
|
||||||
Emails []string `json:"emails"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type Response struct {
|
type Response struct {
|
||||||
User *struct {
|
User *struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
ProfileData
|
profileData
|
||||||
} `json:"user"`
|
} `json:"user"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type profileData struct {
|
||||||
|
Name *string `json:"name"`
|
||||||
|
Emails []string `json:"emails"`
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user