fix: check auth status

This commit is contained in:
Steven
2023-11-30 21:52:02 +08:00
parent 2437419b7f
commit fff42ebc0d
5 changed files with 405 additions and 396 deletions

View File

@@ -2,6 +2,7 @@ syntax = "proto3";
package memos.api.v2;
import "api/v2/user_service.proto";
import "google/api/annotations.proto";
option go_package = "gen/api/v2";
@@ -15,5 +16,5 @@ service AuthService {
message GetAuthStatusRequest {}
message GetAuthStatusResponse {
bool ok = 1;
User user = 1;
}