change api cakk
This commit is contained in:
parent
66eeed7848
commit
655e50420c
|
@ -3,7 +3,7 @@
|
|||
{{ if .UserID }}
|
||||
{{ $gqm := atoi (.Gin.Query "mode") }}
|
||||
{{ $global := . }}
|
||||
{{ with (.Get "users/full?id=%d" .UserID) }}
|
||||
{{ with (.Get "users/ap/full?id=%d" .UserID) }}
|
||||
{{ $favouritemode := _or $gqm .favourite_mode }}
|
||||
<script>
|
||||
window.favouriteMode = {{ $favouritemode }};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ if .UserID }}
|
||||
{{ $gqm := atoi (.Gin.Query "mode") }}
|
||||
{{ $global := . }}
|
||||
{{ with (.Get "users/full?id=%d" .UserID) }}
|
||||
{{ with (.Get "users/rx/full?id=%d" .UserID) }}
|
||||
{{ $favouritemode := _or $gqm .favourite_mode }}
|
||||
<script>
|
||||
window.favouriteMode = {{ $favouritemode }};
|
||||
|
|
Loading…
Reference in New Issue
Block a user