mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
modify comment
This commit is contained in:
parent
67c627e93f
commit
caee136b6b
@ -98,7 +98,7 @@ export class Storage<T extends StateDef> {
|
||||
private async load(): Promise<void> {
|
||||
return new Promise((resolve, reject) => {
|
||||
if ($i) {
|
||||
// なぜかsetTimeoutしないとapi関数内でエラーになる(おそらく循環参照してることに原因がありそう)
|
||||
// api関数と循環参照なので一応setTimeoutしておく
|
||||
setTimeout(() => {
|
||||
api('i/registry/get-all', { scope: ['client', this.key] })
|
||||
.then(kvs => {
|
||||
|
Loading…
Reference in New Issue
Block a user