Formatting
This commit is contained in:
parent
d7750b1e26
commit
74f4e749b9
@ -2,8 +2,8 @@ package server
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -1079,7 +1079,7 @@ func (s *Server) handleUserInfo(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
w.Write(verified)
|
w.Write(verified)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) verify(token string) ([]byte, error) {
|
func (s *Server) verify(token string) ([]byte, error) {
|
||||||
keys, err := s.storage.GetKeys()
|
keys, err := s.storage.GetKeys()
|
||||||
|
Reference in New Issue
Block a user