admin notes support

missing role tag on notes but works otherwise
This commit is contained in:
Toby Kohlhagen
2025-10-01 17:00:53 +10:00
parent b95af1940c
commit 3ffb60f8b4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ This is where you will be preparing your machine to run openplace.
1. install brew, node and git
2. run `git clone --recurse-submodules https://github.com/openplaceteam/openplace`
3. cd into the openplace directory
4. run ``npm i && brew install mariadb caddy``
4. run ``npm i && brew install mariadb caddy nss``
5. brew will then spit out a command to inform you on how to start it. if it doesn't, run `brew services start mariadb && brew services start caddy`
#### Configuring and building the database
1. run `sudo mysql_secure_installation`
+2 -2
View File
@@ -105,11 +105,11 @@ export default function (app: App) {
.json({
notes: notes.map(note => ({
id: note.id,
admin: {
author: {
id: note.user.id,
name: note.user.name
},
content: note.content,
note: note.content,
createdAt: note.createdAt
}))
});