Skip to content

Commit

Permalink
Remove query for main library building and law building LIB rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaF committed Sep 25, 2024
1 parent b04e82a commit d2728f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/dbInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ export const queryBuildingsAndRooms =
async (): Promise<BuildingsAndRoomsRes> => {
const query = `
query BuildingAndRooms {
buildings(order_by: {name: asc}) {
buildings(where: {name: {_neq: "Main Library"}}, order_by: {name: asc}) {
id
name
lat
long
aliases
rooms(order_by: {id: asc}) {
rooms(where: {usage: {_neq: "LIB"}}, order_by: {id: asc}) {
id
name
abbr
Expand Down

0 comments on commit d2728f8

Please sign in to comment.