refac
This commit is contained in:
1 parent
646b64a318
commit
44ab77b4f5
1 file changed
+1
-3
@@ -13,9 +13,7 @@ export type TerminalServer = {
|
||||
name: string;
|
||||
};
|
||||
|
||||
export const getTerminalServers = async (
|
||||
token: string
|
||||
): Promise<TerminalServer[]> => {
|
||||
export const getTerminalServers = async (token: string): Promise<TerminalServer[]> => {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/terminals/`, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`
|
||||
|
||||
Reference in new issue
Block a user