Skip to content

Commit

Permalink
Merge pull request #470 from iGLOO-be/omnipartners/create-password-ty…
Browse files Browse the repository at this point in the history
…ping

Omnipartners Identity : typing of result create-password
  • Loading branch information
Fridus authored Sep 18, 2024
2 parents 659f70a + 4e2e11a commit a9bdde7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/omnipartners/src/api/identity/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,17 @@ export default class Identity extends Api {
});
}

@doc("http://doc.omnipartners.be/index.php/Update_Password")
@doc("https://doc.clixray.com/index.php?title=Update_Password")
@filterInput(["token", "password"])
public updateRecoveredPassword(data: { token: string; password: string }) {
public updateRecoveredPassword(data: {
token: string;
password: string;
}): Promise<{
statusCode: number;
data: {
user_guid: string;
};
}> {
return this.get("/service/account/create-password", data, {
hashKeys: ["password"],
});
Expand Down

0 comments on commit a9bdde7

Please sign in to comment.