Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jitsi-cert-auth
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Hartig
jitsi-cert-auth
Commits
1f967468
Commit
1f967468
authored
1 year ago
by
Jan Hartig
Browse files
Options
Downloads
Patches
Plain Diff
Remove existing room check
parent
4c339732
No related branches found
No related tags found
No related merge requests found
Pipeline
#48788
passed
6 months ago
Stage: build
Changes
1
Pipelines
413
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.py
+4
-4
4 additions, 4 deletions
server.py
with
4 additions
and
4 deletions
server.py
+
4
−
4
View file @
1f967468
...
...
@@ -41,11 +41,11 @@ async def unlock_room(request: Request):
if
len
(
room
)
<
2
:
return
InvalidUsage
serial2room
=
await
get_serial2room
()
#
serial2room = await get_serial2room()
for
entry
in
serial2room
.
values
():
if
room
.
lower
()
==
entry
[
"
room
"
].
lower
():
return
json_response
({
"
error
"
:
"
Raum nicht freischaltbar.
"
})
#
for entry in serial2room.values():
#
if room.lower() == entry["room"].lower():
#
return json_response({"error": "Raum nicht freischaltbar."})
except
(
KeyError
,
TypeError
):
room
=
get_random_room
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment