import { g } from "$lib/db"; async function migrate(id) { const k = id?.replace(/\s/g, "").toLowerCase(); let user = await g(`user:${k}`); if (typeof user === "string") user = await g(`user:${user}`); return user; } export default migrate; Atom feed' href='https://git.coinos.io/coinos-ui.git/atom/src/components/Pin.svelte?h=getroutes' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
blob: bd51cb0a4c05971febbd91ebd09e1ef56de6e343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63