Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cogs/commands/roomsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async def room(self, ctx: Context, *, name: str):

def get_map_url(self, room):
"""Constructs url for campus map for room"""
return f"https://campus.warwick.ac.uk/?slid={room.get('extRef').get('id')}"
return f"https://warwick.ac.uk/sitebuilder2/api/campus_map/location/{room.get('_id')}"

def get_info_url(self, room):
"""Constructs url for ITS info on room"""
Expand Down