Skip to content

Commit

Permalink
Merge pull request #47 from googleinterns/asb_revision
Browse files Browse the repository at this point in the history
fixes bugs in web app
  • Loading branch information
neriyahbutler authored Aug 8, 2020
2 parents 1b5951a + a251515 commit ed74dab
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 132 deletions.
4 changes: 2 additions & 2 deletions functions/src/SPL/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import * as checks from '../errorChecks';

export const getSPL = functions.https.onRequest((request, response) => {

const bulletinID = request.query.bulletinid;
const androidVersion = request.query.androidVersion;
const bulletinID = request.query.bulletinidSPL;
const androidVersion = request.query.androidVersionSPL;

if (bulletinID) {
if (!checks.checkBulletinIDValidity(bulletinID)) {
Expand Down
4 changes: 2 additions & 2 deletions functions/src/bulletin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import * as checks from '../errorChecks';

export const getBulletin = functions.https.onRequest((request, response) => {

const bulletinID = request.query.bulletinid;
const androidVersion = request.query.androidVersion;
const bulletinID = request.query.bulletinidBULLETIN;
const androidVersion = request.query.androidVersionBULLETIN;

if (bulletinID) {
if (!checks.checkBulletinIDValidity(bulletinID)) {
Expand Down
5 changes: 3 additions & 2 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ h4, .h4 {
margin-bottom: 4%;
text-align: center;
width: max-content;
padding: 1%;
}

.fileUpload {
border-radius: 2%;
padding: 4%;
width: max-content;
}

Expand All @@ -92,8 +92,9 @@ h4, .h4 {
}

#fileName {
margin-left: 1%;
margin-right: 1%;
width: max-content;
display: inline-block;
}

.demoContainer{
Expand Down
Loading

0 comments on commit ed74dab

Please sign in to comment.