Skip to content
Commit 4c243b8f authored by Rohit Kaushik's avatar Rohit Kaushik Committed by Georges Basile Stavracas Neto
Browse files

todoist: implement a generic post method

Since methods such as gtd_provider_todoist_create_task etc.
will make a post request to todoist endpoint, it is necessary
to have a generic post function otherwise a lot of code will
be repeated.

This patch implements:
    1) Implements a generic post method that takes Json Object
       as params.
    2) Make use of the generic post method in the function
       gtd_provider_todoist_sync_call which is use to sync
       tasks and lists from todoist.

https://bugzilla.gnome.org/show_bug.cgi?id=772278
parent 9f11c1ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment