Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

feat: add OLA group/ungroup endpoints #236

Merged
merged 1 commit into from
Sep 26, 2019
Merged

feat: add OLA group/ungroup endpoints #236

merged 1 commit into from
Sep 26, 2019

Conversation

euhmeuh
Copy link
Contributor

@euhmeuh euhmeuh commented Sep 25, 2019

MANAGER-3148

@euhmeuh euhmeuh self-assigned this Sep 25, 2019
group: {
url: '/dedicated/server/:serverName/ola/group',
method: 'POST',
data: {
Copy link
Contributor

@JeremyDec JeremyDec Sep 25, 2019

Choose a reason for hiding this comment

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

I see data for some routes, and paramsfor other, there is a reason ? (data doesn't exists for $resource if we refer to documentation : https://docs.angularjs.org/api/ngResource/service/$resource#$resource-arguments)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

params is for URI parameters, while data is for body parameters. But maybe the documentation I saw was deprecated, and data is no longer useful... Anyways it works as is and provides a great documentation about what's expected.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, this is not useful anymore

@cbourgois cbourgois merged commit 838aeda into master Sep 26, 2019
@cbourgois cbourgois deleted the feat/ola branch September 26, 2019 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

7 participants