working on adding role update feature

This commit is contained in:
redshift
2026-05-04 20:48:53 +05:30
parent 26fd7d3808
commit 52dcecbefe
3 changed files with 87 additions and 29 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export function getDaemonBaseUrl(config: RoutstrdConfig): string {
export async function callDaemon(
path: string,
options: { method?: "GET" | "POST" | "DELETE"; body?: object } = {},
options: { method?: "GET" | "POST" | "PATCH" | "DELETE"; body?: object } = {},
): Promise<CommandResponse> {
const { method = "GET", body } = options;
const config = await loadConfig();