mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-14 20:07:50 +00:00
chore: add chrome extension codes
This commit is contained in:
@ -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