[Calendar] Introduce permissions for editing events
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export async function saveMemberNote(email, text) {
|
||||
console.log("saving note: ", email, text)
|
||||
try {
|
||||
await this.sql`
|
||||
await context.sql`
|
||||
UPDATE members
|
||||
SET notes = ${text}
|
||||
WHERE email = ${email}
|
||||
@@ -14,7 +14,7 @@ export async function saveMemberNote(email, text) {
|
||||
|
||||
export async function getPeople(networkId) {
|
||||
try {
|
||||
const people = await this.sql`
|
||||
const people = await context.sql`
|
||||
SELECT
|
||||
m.*,
|
||||
mn.created AS joined_network,
|
||||
|
||||
Reference in New Issue
Block a user