tangled
alpha
login
or
join now
moth11.net
/
rvcx
3
fork
atom
backend for xcvr appview
3
fork
atom
overview
issues
4
pulls
pipelines
clean up how this looks but i'm sure this isn't it
moth11.net
6 months ago
9a8efef0
bf1862c0
+1
-7
1 changed file
expand all
collapse all
unified
split
server
internal
db
db.go
+1
-7
server/internal/db/db.go
···
45
45
}
46
46
47
47
func (s *Store) ResolveHandle(handle string, ctx context.Context) (string, error) {
48
48
-
row := s.pool.QueryRow(ctx, `
49
49
-
SELECT
50
50
-
h.did
51
51
-
FROM did_handles h
52
52
-
WHERE h.handle = $1
53
53
-
LIMIT 1
54
54
-
`, handle)
48
48
+
row := s.pool.QueryRow(ctx, `SELECT h.did FROM did_handles h WHERE h.handle = $1`, handle)
55
49
var did string
56
50
err := row.Scan(&did)
57
51
if err != nil {