mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-28 06:46:13 +00:00
fix warning caused by getJSON
This commit is contained in:
1 parent
18ed67b2e6
commit
121909e809
3 files changed
+3
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{{ $id := delimit (slice "gitlab" (partial "functions/uid.html" .)) "-" }}
|
||||
{{- $gitlabURL := print (default "https://gitlab.com/" (.Get "baseURL")) "api/v4/projects/" (.Get "projectID") -}}
|
||||
|
||||
{{- $gitLabData := getJSON ($gitlabURL) -}}
|
||||
{{- $gitLabData := resources.GetRemote $gitlabURL | transform.Unmarshal -}}
|
||||
{{- with $gitLabData -}}
|
||||
|
||||
<a id="{{ $id }}" target="_blank" href="{{ .web_url }}" class="cursor-pointer">
|
||||
|
||||
Reference in new issue
Block a user