Fix short link. Generate One Time Link (#1301)

Co-authored-by: Vadim Babadzhanyan <vadim.babadzhanyan@my.games>
This commit is contained in:
Vadim Babadzhanyan
2024-08-20 17:19:07 +03:00
committed by GitHub
parent 352a022f30
commit 968d2b90a0
6 changed files with 61 additions and 7 deletions
+7
View File
@@ -132,6 +132,13 @@ class API {
});
}
async showOneTimeLink({ clientId }) {
return this.call({
method: 'post',
path: `/wireguard/client/${clientId}/generateOneTimeLink`,
});
}
async enableClient({ clientId }) {
return this.call({
method: 'post',