deep-ink-ventures / elio-dao-service

Apache License 2.0
0 stars 0 forks source link

Expose endpoint to update addresses and hashes #3

Closed x-xo closed 1 year ago

x-xo commented 1 year ago

We need an endpoint to update the

The endpoint should accept PATCH requests. The endpoint should require basic authentication, with the credentials being injected via an environment variable.

Upon updating the values, we might consider wiping the DB.

Shirku commented 1 year ago

added /update-config/ route. requires envvar CONFIG_SECRET to be set + header Config-Secret