forked from Kieran/snort
fix: created_at on refresh
This commit is contained in:
parent
b40a8cb9ad
commit
02e6d5c98c
@ -142,7 +142,10 @@ export default class AlbyWallet implements LNWallet {
|
||||
});
|
||||
const json = await req.json();
|
||||
if (req.ok) {
|
||||
this.#token = json as OAuthToken;
|
||||
this.#token = {
|
||||
...(json as OAuthToken),
|
||||
created_at: unixNow()
|
||||
};
|
||||
this.onChange(this.#token);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user