mirror of
https://github.com/usememos/memos.git
synced 2024-09-20 14:35:54 +08:00
chore: fix some typos in comments (#3243)
Signed-off-by: coderwander <770732124@qq.com>
This commit is contained in:
parent
b0b9513de7
commit
162521885c
|
@ -150,7 +150,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error
|
||||||
switch len(rangeParts) {
|
switch len(rangeParts) {
|
||||||
case 1:
|
case 1:
|
||||||
if step != 1 {
|
if step != 1 {
|
||||||
return nil, errors.New("invalid segement step - step > 1 could be used only with the wildcard or range format")
|
return nil, errors.New("invalid segment step - step > 1 could be used only with the wildcard or range format")
|
||||||
}
|
}
|
||||||
parsed, err := strconv.Atoi(rangeParts[0])
|
parsed, err := strconv.Atoi(rangeParts[0])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
|
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
|
||||||
|
|
||||||
# You should list aditional dirs here if the API grows
|
# You should list additional dirs here if the API grows
|
||||||
SWAG_API_DIRS=./server/route/api/v1
|
SWAG_API_DIRS=./server/route/api/v1
|
||||||
|
|
||||||
# Where general API info is documented
|
# Where general API info is documented
|
||||||
|
|
|
@ -2909,7 +2909,7 @@ definitions:
|
||||||
owner:
|
owner:
|
||||||
type: string
|
type: string
|
||||||
title: |-
|
title: |-
|
||||||
The name of intance owner.
|
The name of instance owner.
|
||||||
Format: "users/{id}"
|
Format: "users/{id}"
|
||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in a new issue