Christina Ying Wang
d08f25f0a3
Consolidate API middlewares, move api-keys to device-api
...
Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-10-18 14:16:53 -07:00
Pagan Gazzard
5518eb17bd
Update to nodejs 16
...
Change-type: minor
2022-09-19 17:51:48 +01:00
Rich Bayliss
d50f7791e1
api-binder: Convert to a singleton
...
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 09:31:12 +01:00
Pagan Gazzard
511cbbe74e
Update pinejs-client-request and make use of a named key
...
Update pinejs-client-request from 7.0.0 to 7.1.0
Change-type: patch
2020-08-03 09:27:11 +00:00
Akis Kesoglou
1dccbaecd8
Use API v6
...
See: https://github.com/balena-io/open-balena/issues/80
Change-type: minor
2020-06-15 13:57:32 +03:00
Cameron Diver
1d7381327e
Make the db module a singleton
...
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Cameron Diver
eaaa9c257e
check for 409 status code, rather than string matching uuid conflicts
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Pagan Gazzard
758f3caa48
Update to @balena/lint 5.x
...
Change-type: patch
2020-05-15 12:08:42 +01:00
Cameron Diver
b5a427f2b9
Convert some coffeescript tests to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-30 10:58:32 +00:00