Browse Source

add UpdateDocument to list of SearcherActor messages

how did this even work?!
I've only been using UpdateDocument so far, and it wasn't listed!
pull/813/head
Mina Galić 3 months ago
parent
commit
56091c0d49
Signed by: igalic <me+github@igalic.co> GPG Key ID: ACFEFF7F6A123A86
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plume-models/src/search/searcher.rs

+ 1
- 1
plume-models/src/search/searcher.rs View File

@@ -38,7 +38,7 @@ pub struct UpdateDocument(pub Post);
#[derive(Clone, Debug)]
pub struct DeleteDocument(Post);

#[actor(AddDocument)]
#[actor(AddDocument, UpdateDocument)]
pub struct SearcherActor(Searcher);

impl Actor for SearcherActor {


Loading…
Cancel
Save