Remove habitica wrapper

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-08-04 18:53:09 +02:00
parent 431d1be850
commit b0904dabb6
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,6 +0,0 @@
#!/bin/bash
HABITICA_API_TOKEN=$(vault read -field=api_token /secret/private/habitica)
HABITICA_USER_ID=$(vault read -field=user_id /secret/private/habitica)
curl -s -H "x-api-key: ${HABITICA_API_TOKEN}" -H "x-api-user: ${HABITICA_USER_ID}" "$@" <&0