mirror of
https://github.com/aykhans/slash-e.git
synced 2026-11-06 06:55:10 +00:00
chore: add chrome extension codes
This commit is contained in:
1 parent
dfc797fe58
commit
48fb6018c0
6 files changed
+107
-1
No files matched your search
@@ -71,6 +71,12 @@ func (s *Server) registerShortcutRoutes(g *echo.Group) {
|
||||
if workspaceID, err := strconv.Atoi(c.QueryParam("workspaceId")); err == nil {
|
||||
shortcutFind.WorkspaceID = &workspaceID
|
||||
}
|
||||
if name := c.QueryParam("name"); name != "" {
|
||||
shortcutFind.Name = &name
|
||||
}
|
||||
if link := c.QueryParam("link"); link != "" {
|
||||
shortcutFind.Link = &link
|
||||
}
|
||||
|
||||
list, err := s.Store.FindShortcutList(ctx, shortcutFind)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user