i dont even know what this PR is supposed to be about anymore, everyone lost the plot somewhere in the middle of act 2 #74
1 changed files with 1 additions and 1 deletions
oh lol
Wrong IF xD This is getting nuked soon, but I still find if funny that I got it wrong.
commit
e301a1f3b0
|
|
@ -198,7 +198,7 @@ as.router.post("/api/link", defineEventHandler(async event => {
|
|||
}
|
||||
}
|
||||
if (!foundRoom) throw createError({status: 400, message: "Bad Request", data: "Matrix room needs to be part of the bridged space"})
|
||||
else if (!foundRoom) throw createError({status: 400, message: "Bad Request", data: "Matrix room cannot be of type m.space"})
|
||||
else if (foundSpace) throw createError({status: 400, message: "Bad Request", data: "Matrix room cannot be of type m.space"})
|
||||
|
||||
// Check room exists and bridge is joined
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue