mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-09-14 10:52:34 +00:00
12 lines
258 B
TypeScript
12 lines
258 B
TypeScript
import * as api from "./base";
|
|
import type { TokenResponse } from "./responseTypes";
|
|
|
|
export async function refreshToken(abortController?: AbortController): Promise<TokenResponse> {
|
|
return await api.get(
|
|
{
|
|
url: "/tokens",
|
|
},
|
|
abortController,
|
|
);
|
|
}
|