| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Not entirely happy with this one. Specially the patch method of the
Connection struct. While the other method take (or return) an object
that can be serialized to json, the patch method takes a string slice
directly, and passing it to the API.
|
|
|
|
|
| |
Inserting multiple clients with the same id does not work, so we remove
it and let the db backend assign the id instead.
|
|
|
|
|
|
|
| |
Also introduces a Connection object to handle the actual connection to
the remote API. We also load the remote API url and jwt token from the
process environment so these are no longer hardcoded into the source
code.
|
| |
|
|
|