Closed fahadsadiq closed 7 months ago
Hey mate can we instead of removing it just change the type to what it needs to be? Should be easy, can almost copy it verbatim from the docs
Done
Lat req, can you tweak it to this, otherwise TS might do funny and understand the lists to be fixed size:
interface GetUserResponse {
MFAOptions: {
AttributeName: string;
DeliveryMedium: string;
}[];
PreferredMfaSetting: string;
UserAttributes: {
Name: string;
Value: string;
}[];
UserMFASettingList: string[];
Username: string;
}
THANKS
Updated.
Hey mate you added the type to the wrong function, to revokeToken
instead of getUser
.
Nearly weekend my friend :)
Fixed the issue.
Issue #, if available:
Another oversight from my side. Apologies. I have tested this end to end and it works fine.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.