mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-25 22:34:24 +00:00
feat: use get workspace profile in frontend
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import axios from "axios";
|
||||
import { userServiceClient } from "@/grpcweb";
|
||||
|
||||
export function getWorkspaceProfile() {
|
||||
return axios.get<WorkspaceProfile>("/api/v1/workspace/profile");
|
||||
}
|
||||
|
||||
export function signin(email: string, password: string) {
|
||||
return axios.post<User>("/api/v1/auth/signin", {
|
||||
email,
|
||||
|
Reference in New Issue
Block a user