logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: b085c6e3023a4d8297cdb9e878e5329e18035ff3
parent 868b000f99063bfcb16d90193ca47a1625b5cea2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  3 Jun 2023 02:14:13 +0200

post-update.srht: OAuth2 means Bearer

Diffstat:

Mgit-hooks/post-update.srht2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-hooks/post-update.srht b/git-hooks/post-update.srht @@ -53,7 +53,7 @@ EOF my $res = $ua->post( $ENV{SRHT_HOST} . "/query", - Authorization => 'token ' . $ENV{SRHT_TOKEN}, + Authorization => 'Bearer ' . $ENV{SRHT_TOKEN}, Content_Type => 'application/json', Content => encode_json $job, );