mirror of
https://github.com/aykhans/slash-e.git
synced 2025-12-14 20:59:19 +00:00
refactor: update api version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Role } from "@/types/proto/api/v2/user_service";
|
||||
import { Role } from "@/types/proto/api/v1/user_service";
|
||||
|
||||
export const convertRoleFromPb = (role: Role): string => {
|
||||
if (role === Role.ADMIN) {
|
||||
|
||||
Reference in New Issue
Block a user