Make it compile again
Adding notes still non-functional, but made it compile
This commit is contained in:
parent
ccd2140c53
commit
2b84d7eb2a
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ package server
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/google/jsonapi"
|
||||
"github.com/rs/zerolog/hlog"
|
||||
"git.mstar.dev/mstar/goutils/other"
|
||||
"git.mstar.dev/mstar/linstrom/storage"
|
||||
"github.com/google/jsonapi"
|
||||
"github.com/rs/zerolog/hlog"
|
||||
)
|
||||
|
||||
// Notes
|
||||
|
@ -59,7 +59,7 @@ func linstromGetNote(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
func linstromUpdateNote(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromNewNote(w http.ResponseWriter, r *http.Request) {
|
||||
store := StorageFromRequest(r)
|
||||
// store := StorageFromRequest(r)
|
||||
actorId, ok := ActorIdFromRequest(r)
|
||||
log := hlog.FromRequest(r)
|
||||
|
||||
|
@ -95,7 +95,7 @@ func linstromNewNote(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
_, _ = store.CreateNote()
|
||||
// _, _ = store.CreateNoteLocal(creatorId string, rawContent string, contentWarning *string, timestamp time.Time, attachmentIds []string, emoteIds []string, repliesToId *string, quotesId *string, accessLevel storage.NoteAccessLevel, tags []string)
|
||||
}
|
||||
func linstromDeleteNote(w http.ResponseWriter, r *http.Request) {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue