Skip to content

Commit

Permalink
Merge branch 'release/1.6.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Oct 21, 2024
2 parents aba3ea6 + b300bff commit 4c6d432
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adaptto-live-server",
"version": "1.6.3",
"version": "1.6.4",
"private": true,
"scripts": {
"dev": "nodemon src/index.ts | pino-pretty",
Expand Down
4 changes: 2 additions & 2 deletions src/socket/admin/talkRatings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import log from '../../util/log'
import { TalkRatingModel, TalkRating } from '../../repository/mongodb.schema'

export async function handleAdminTalkRatings(socket : Socket<ClientToServerEvents,ServerToClientEvents,InterServerEvents,SocketData>) {
const { admin } = socket.data
const { admin, qaadmin } = socket.data

// admin-only operations
if (!admin) {
if (!(admin || qaadmin)) {
return
}

Expand Down

0 comments on commit 4c6d432

Please sign in to comment.