mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
wip
This commit is contained in:
parent
33a66c87cf
commit
7c34053e3d
25 changed files with 4884 additions and 3729 deletions
|
@ -23,7 +23,6 @@ import (
|
|||
|
||||
// AddPin saves pinned item.
|
||||
func (p *Persister) AddPin(pin entity.Pin) (err error) {
|
||||
|
||||
row := Db.QueryRow("SELECT max(sequence) FROM pin WHERE orgid=? AND userid=?", p.Context.OrgID, p.Context.UserID)
|
||||
var maxSeq int
|
||||
err = row.Scan(&maxSeq)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue