fix proto
This commit is contained in:
parent
37fd9bcb27
commit
e0b5807570
@ -9,7 +9,7 @@ message GetQuizzesRequest {
|
||||
}
|
||||
|
||||
message GetQuizzesResponse {
|
||||
repeated string quiz_ids = 1;
|
||||
repeated int64 quiz_ids = 1;
|
||||
}
|
||||
|
||||
message GetStartedQuizzesRequest {
|
||||
@ -17,7 +17,7 @@ message GetStartedQuizzesRequest {
|
||||
}
|
||||
|
||||
message GetStartedQuizzesResponse {
|
||||
repeated string quiz_ids = 1;
|
||||
repeated int64 quiz_ids = 1;
|
||||
}
|
||||
|
||||
service QuizService {
|
||||
|
2
go.mod
2
go.mod
@ -18,7 +18,7 @@ require (
|
||||
google.golang.org/grpc v1.62.0
|
||||
google.golang.org/protobuf v1.33.0
|
||||
penahub.gitlab.yandexcloud.net/backend/penahub_common v0.0.0-20240223054633-6cb3d5ce45b6
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240401215937-e503b66e8119
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240403161453-2b8c36400761
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/worker.git v0.0.0-20240313171802-7da5fbb4caf3
|
||||
)
|
||||
|
||||
|
2
go.sum
2
go.sum
@ -327,5 +327,7 @@ penahub.gitlab.yandexcloud.net/backend/penahub_common v0.0.0-20240223054633-6cb3
|
||||
penahub.gitlab.yandexcloud.net/backend/penahub_common v0.0.0-20240223054633-6cb3d5ce45b6/go.mod h1:lTmpjry+8evVkXWbEC+WMOELcFkRD1lFMc7J09mOndM=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240401215937-e503b66e8119 h1:4lBVH0yO6YcrmGQnalfgHRJoLVfMlF1T6HI2ZSSW2fU=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240401215937-e503b66e8119/go.mod h1:/DcyAjBh41IbomuDu5QzhL9flZW6lWO3ZAEbUXKobk0=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240403161453-2b8c36400761 h1:goi/wahHIZwlOuC5WwV9MHK2D+ofEYeBSOmY38WyEXU=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/common.git v0.0.0-20240403161453-2b8c36400761/go.mod h1:/DcyAjBh41IbomuDu5QzhL9flZW6lWO3ZAEbUXKobk0=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/worker.git v0.0.0-20240313171802-7da5fbb4caf3 h1:BLHIUnJAttW9OAW7A63H9ON/HPhXdpBa/YPUQWD4ORA=
|
||||
penahub.gitlab.yandexcloud.net/backend/quiz/worker.git v0.0.0-20240313171802-7da5fbb4caf3/go.mod h1:/BFcX4F10DRuFuAHlwkKO+1QAXPL4i49x1tsrTwxlqE=
|
||||
|
@ -19,8 +19,10 @@ func NewMailNotify(dal *dal.DAL) *MailNotify {
|
||||
}
|
||||
|
||||
func (m *MailNotify) GetQuizzes(ctx context.Context, in *notifyer.GetQuizzesRequest) (*notifyer.GetQuizzesResponse, error) {
|
||||
fmt.Println(in)
|
||||
fmt.Println("AAAAAAAAAAAAAAAAaaa GetQuizzes")
|
||||
ids, err := m.dal.QuizRepo.GetAllQuizzesID(ctx, in.AccountId)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user