Skip to content

Commit ed74dab

Browse files
Merge pull request #47 from googleinterns/asb_revision
fixes bugs in web app
2 parents 1b5951a + a251515 commit ed74dab

File tree

4 files changed

+182
-132
lines changed

4 files changed

+182
-132
lines changed

functions/src/SPL/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import * as checks from '../errorChecks';
44

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

7-
const bulletinID = request.query.bulletinid;
8-
const androidVersion = request.query.androidVersion;
7+
const bulletinID = request.query.bulletinidSPL;
8+
const androidVersion = request.query.androidVersionSPL;
99

1010
if (bulletinID) {
1111
if (!checks.checkBulletinIDValidity(bulletinID)) {

functions/src/bulletin/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import * as checks from '../errorChecks';
44

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

7-
const bulletinID = request.query.bulletinid;
8-
const androidVersion = request.query.androidVersion;
7+
const bulletinID = request.query.bulletinidBULLETIN;
8+
const androidVersion = request.query.androidVersionBULLETIN;
99

1010
if (bulletinID) {
1111
if (!checks.checkBulletinIDValidity(bulletinID)) {

public/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ h4, .h4 {
7575
margin-bottom: 4%;
7676
text-align: center;
7777
width: max-content;
78+
padding: 1%;
7879
}
7980

8081
.fileUpload {
8182
border-radius: 2%;
82-
padding: 4%;
8383
width: max-content;
8484
}
8585

@@ -92,8 +92,9 @@ h4, .h4 {
9292
}
9393

9494
#fileName {
95+
margin-left: 1%;
96+
margin-right: 1%;
9597
width: max-content;
96-
display: inline-block;
9798
}
9899

99100
.demoContainer{

0 commit comments

Comments
 (0)