Skip to content

Commit ad477f3

Browse files
committed
cleanup
1 parent c22d38b commit ad477f3

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

spec/ParseGraphQLServer.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9454,7 +9454,6 @@ describe('ParseGraphQLServer', () => {
94549454
expect(res.status).toEqual(200);
94559455
const resText = await res.text();
94569456
const result2 = JSON.parse(resText);
9457-
console.log('result2', resText);
94589457
expect(result2.data.createSomeClass1.someClass.someField.name).toEqual(
94599458
jasmine.stringMatching(/_myFileName.txt$/)
94609459
);
@@ -9595,7 +9594,6 @@ describe('ParseGraphQLServer', () => {
95959594
body,
95969595
});
95979596
const result = JSON.parse(await res.text());
9598-
console.log(result);
95999597
expect(res.status).toEqual(413);
96009598
expect(result.errors[0].message).toEqual('File size limit exceeded: 1024 bytes');
96019599
});

src/GraphQL/ParseGraphQLServer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ class ParseGraphQLServer {
100100
app.use(this.config.graphQLPath, handleParseSession);
101101
app.use(this.config.graphQLPath, handleParseErrors);
102102
app.use(this.config.graphQLPath, async (req, res) => {
103-
// console.log("here", req)
104103
const server = await this._getServer();
105104
return server(req, res);
106105
});

src/GraphQL/loaders/filesMutations.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const handleUpload = async (upload, config) => {
88
const data = await upload.buffer();
99
const fileName = upload.name;
1010
const type = upload.type;
11-
console.log('data.length', data.length);
1211
if (!data || !data.length) {
1312
throw new Parse.Error(Parse.Error.FILE_SAVE_ERROR, 'Invalid file upload.');
1413
}

0 commit comments

Comments
 (0)