mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add location selector
This commit is contained in:
@ -66,6 +66,9 @@ func (s *APIV1Service) CreateMemo(ctx context.Context, request *v1pb.CreateMemoR
|
||||
create.Payload = &storepb.MemoPayload{
|
||||
Property: property,
|
||||
}
|
||||
if request.Location != nil {
|
||||
create.Payload.Location = convertLocationToStore(request.Location)
|
||||
}
|
||||
|
||||
memo, err := s.Store.CreateMemo(ctx, create)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user