mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-01-19 18:14:45 +00:00
Added Object.freeze for Avatar
This commit is contained in:
parent
2eef36ddcb
commit
10114899f3
11
api/db.js
11
api/db.js
|
|
@ -59,6 +59,17 @@ export const CHARACTER = Object.freeze({
|
|||
DELETED: Symbol("deleted"),
|
||||
});
|
||||
|
||||
// Added for Avatar
|
||||
// Only utilizing columns believed to be "safe"
|
||||
// Should be reviewed at a later date
|
||||
export const AVATAR = Object.freeze({
|
||||
THIS: Symbol("experience"),
|
||||
ID: Symbol("id"),
|
||||
NAME: Symbol("name"),
|
||||
BEP: Symbol("bep"),
|
||||
CEP: Symbol("cep"),
|
||||
});
|
||||
|
||||
export const LOGIN = Object.freeze({
|
||||
THIS: Symbol("login"),
|
||||
ID: Symbol("id"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue