[M] Rename: Bind -> Link

This commit is contained in:
Azalea
2024-02-22 18:19:55 -05:00
parent 49320ff623
commit a001a45cc4
6 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ export interface Card {
luid: string
registerTime: string
accessTime: string
bound: boolean
linked: boolean
ghost: boolean
}

View File

@@ -95,5 +95,5 @@ export const CARD = {
summary: (cardId: string): Promise<{card: Card, summary: CardSummary}> =>
post('/api/v2/card/summary', { cardId }),
link: (props: { cardId: string, migrate: string }) =>
post('/api/v2/card/bind', props),
post('/api/v2/card/link', props),
}