mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update deploy guide doc
This commit is contained in:
@@ -100,6 +100,7 @@ func createResource(db *DB, create *api.ResourceCreate) (*api.Resource, error) {
|
||||
|
||||
func findResourceList(db *DB, find *api.ResourceFind) ([]*api.Resource, error) {
|
||||
where, args := []string{"1 = 1"}, []interface{}{}
|
||||
|
||||
if v := find.Id; v != nil {
|
||||
where, args = append(where, "id = ?"), append(args, *v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user