Skip to content

Commit cb104cc

Browse files
committed
chore: fix typo
1 parent 7a99c78 commit cb104cc

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

apps/ops/celery/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from celery.schedules import crontab
77
from kombu import Exchange, Queue
88
from smartdoc import settings
9-
from .heatbeat import *
9+
from .heartbeat import *
1010

1111
# set the default Django settings module for the 'celery' program.
1212
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'smartdoc.settings')

ui/src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const typeList: any = {
4848
export function getImgUrl(name: string) {
4949
const list = Object.values(typeList).flat()
5050

51-
const type = list.includes(fileType(name).toLowerCase()) ? fileType(name).toLowerCase() : 'unknow'
51+
const type = list.includes(fileType(name).toLowerCase()) ? fileType(name).toLowerCase() : 'unknown'
5252
return new URL(`../assets/fileType/${type}-icon.svg`, import.meta.url).href
5353
}
5454
// 是否是白名单后缀

0 commit comments

Comments
 (0)