feat: Change RPCs from workspace name to workspace id

This commit is contained in:
frelodev 2024-12-08 15:56:06 +01:00
parent 4879ec7e07
commit 5c9b5ee78d

View file

@ -20,7 +20,7 @@ service Session {
// A message representing a request for specific workspace. // A message representing a request for specific workspace.
message WorkspaceRequest { message WorkspaceRequest {
// The name of the workspace. // The workspace's id
required string workspace = 1; required string workspace = 1;
} }
@ -36,6 +36,6 @@ message WorkspaceList {
message InviteRequest { message InviteRequest {
// The user the invitation is for. // The user the invitation is for.
required string user = 1; required string user = 1;
// the workspace the invitation is for // the workspace's id the invitation is for
required string workspace = 2; required string workspace = 2;
} }