Chg: ConfigRepository.getのreturnをEntityに / Chg: setup/initilizationをのconfig操作をRepositoryに / Fix: setup/create-adminの重複チェックを解消

This commit is contained in:
2026-03-19 11:42:38 +09:00
parent 47556e5fec
commit bb0bfc1dfd
3 changed files with 6 additions and 25 deletions
@@ -3,12 +3,10 @@ import type { ConfigEntity } from "@/modules/entities/Config";
export class ConfigRepository extends EntityRepository<ConfigEntity> {
async set(name: string, value: string) {
await this.upsert({
return await this.upsert({
name,
value,
});
return;
}
async get(name: string, defaultValue?: string) {