fix: made user room number a string for added flexibility
This commit is contained in:
@@ -11,7 +11,7 @@ function userNotif(uname: string) {
|
||||
return pipeline
|
||||
}
|
||||
|
||||
function roomNotif(room: number) {
|
||||
function roomNotif(room: string) {
|
||||
var pipeline: PipelineStage[] = [
|
||||
{
|
||||
$lookup: {
|
||||
|
||||
Reference in New Issue
Block a user