raise a warning
All checks were successful
Build / build (18) (push) Successful in 49s
Build / build (20) (push) Successful in 1m15s
Build / build (22) (push) Successful in 1m11s
Build / build (18) (pull_request) Successful in 48s
Build / build (20) (pull_request) Successful in 1m16s
Build / build (22) (pull_request) Successful in 1m8s
All checks were successful
Build / build (18) (push) Successful in 49s
Build / build (20) (push) Successful in 1m15s
Build / build (22) (push) Successful in 1m11s
Build / build (18) (pull_request) Successful in 48s
Build / build (20) (pull_request) Successful in 1m16s
Build / build (22) (pull_request) Successful in 1m8s
This commit is contained in:
parent
5fd9c784b8
commit
b0caaae5d4
@ -444,6 +444,8 @@ export const addMissionInventoryUpdates = async (
|
||||
const dbConfig = loadout.NORMAL.id(loadoutId);
|
||||
if (dbConfig) {
|
||||
dbConfig.overwrite(loadoutConfigDatabase);
|
||||
} else {
|
||||
logger.warn(`couldn't update loadout because there's no config with id ${loadoutId}`);
|
||||
}
|
||||
}
|
||||
await loadout.save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user