Skip to content

Endpoints for audiences CRUD #3861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2017
Merged

Conversation

davimacedo
Copy link
Member

No description provided.

Copy link
Contributor

@flovilmart flovilmart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nits and a rebase is required !

}

mountRoutes() {
this.route('GET','/push_audiences', req => { return this.handleFind(req); });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to protect those for masterKey only please

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

}

return rest.find(req.config, req.auth,
'_Audience', body.where, options, req.info.clientSDK)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put it all on 1 line to match style.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@flovilmart
Copy link
Contributor

@davimacedo bump? I’d like to get that in for 2.5.0!

@codecov
Copy link

codecov bot commented Jun 20, 2017

Codecov Report

Merging #3861 into master will increase coverage by 0.01%.
The diff coverage is 95.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3861      +/-   ##
==========================================
+ Coverage   90.47%   90.49%   +0.01%     
==========================================
  Files         114      115       +1     
  Lines        7686     7723      +37     
==========================================
+ Hits         6954     6989      +35     
- Misses        732      734       +2
Impacted Files Coverage Δ
src/Routers/FeaturesRouter.js 100% <ø> (ø) ⬆️
src/Routers/FunctionsRouter.js 94.59% <100%> (ø) ⬆️
src/Controllers/DatabaseController.js 94.35% <100%> (ø) ⬆️
src/RestQuery.js 94.94% <100%> (ø) ⬆️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 95.83% <100%> (+0.13%) ⬆️
src/Controllers/SchemaController.js 97.05% <100%> (ø) ⬆️
src/ParseServer.js 88.6% <100%> (+0.07%) ⬆️
src/Routers/AudiencesRouter.js 91.42% <91.42%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e94991b...edd3d4b. Read the comment docs.

@davimacedo
Copy link
Member Author

Sorry about the delay. Done.

@davimacedo
Copy link
Member Author

davimacedo commented Jun 20, 2017

I also fixed it to work on postgres

@davimacedo
Copy link
Member Author

Just added few more tests

flovilmart
flovilmart previously approved these changes Jun 21, 2017
@flovilmart
Copy link
Contributor

Awesome! Let’s get that in!

@davimacedo
Copy link
Member Author

Rebased, resolved the conflict and also lint problems due to e94991b

@natanrolnik
Copy link
Contributor

Good! Thanks @davimacedo.
Tests are failing apparently.

@natanrolnik
Copy link
Contributor

Did you run npn run lint locally?

@davimacedo
Copy link
Member Author

Fixed. Yes. I have run all tests before pushing, but I had not yet updated the node modules. The new modules of the last commit are requiring new lint rules.

@natanrolnik natanrolnik merged commit 4509d25 into parse-community:master Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants