1
0

add skill

This commit is contained in:
2023-05-03 19:16:36 +09:00
parent 2883ab052c
commit 33944caab7
15 changed files with 540 additions and 44 deletions

View File

@ -54,6 +54,9 @@ func (h *OgentHandler) CreateCard(ctx context.Context, req *CreateCardReq) (Crea
if v, ok := req.CreatedAt.Get(); ok {
b.SetCreatedAt(v)
}
if v, ok := req.Skill.Get(); ok {
b.SetSkill(v)
}
// Add all edges.
if req.Password == password {