Skip to content
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

Add odk token endpoint #274

Merged
merged 8 commits into from
Oct 30, 2019
Merged

Add odk token endpoint #274

merged 8 commits into from
Oct 30, 2019

Conversation

RayceeM
Copy link
Contributor

@RayceeM RayceeM commented Oct 18, 2019

Closes #273

Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
@RayceeM RayceeM requested a review from ivermac October 18, 2019 04:34
@@ -162,6 +162,10 @@
:http-options {:query-params {:search email}}
:suppress-4xx-exceptions? true)))

(defn generate-odk-token []
(let [url (make-url "user/odk_token")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we refactor this to match how make-url has been used throughout milia and with regards to creating a url that has path separated by slashes

Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
@RayceeM RayceeM requested a review from ivermac October 29, 2019 07:28
Copy link
Contributor

@ivermac ivermac left a comment

Choose a reason for hiding this comment

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

lgmt!

Signed-off-by: Racheal Mwatela <mwatelaraycee33@gmail.com>
@RayceeM RayceeM merged commit 2350e9f into master Oct 30, 2019
@RayceeM RayceeM deleted the add-odk-token-endpoint branch October 30, 2019 06:09
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.

Create generate ODK token endpoint
2 participants