mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-26 03:59:53 +01:00
use id for backgrounds
This commit is contained in:
1 parent
85ddedd481
commit
ff16a26bd8
1 file changed
+1
-1
@@ -430,7 +430,7 @@ export class ServerAPI extends AbstractAPI {
|
|||||||
const backgrounds: Background[] = [];
|
const backgrounds: Background[] = [];
|
||||||
|
|
||||||
for (const item of this.metadata.group("ProfileBackgroundEntity")) {
|
for (const item of this.metadata.group("ProfileBackgroundEntity")) {
|
||||||
backgrounds.push(await this.background(item.name));
|
backgrounds.push(await this.background(item.id));
|
||||||
}
|
}
|
||||||
|
|
||||||
return { backgrounds };
|
return { backgrounds };
|
||||||
|
|||||||
Reference in new issue
Block a user