mirror of
https://github.com/usememos/memos.git
synced 2025-01-24 22:21:49 +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
3 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ func parseCronSegment(segment string, min int, max int) (map[int]struct{}, error
|
|||
switch len(rangeParts) {
|
||||
case 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])
|
||||
if err != nil {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
||||
# Where general API info is documented
|
||||
|
|
|
@ -2909,7 +2909,7 @@ definitions:
|
|||
owner:
|
||||
type: string
|
||||
title: |-
|
||||
The name of intance owner.
|
||||
The name of instance owner.
|
||||
Format: "users/{id}"
|
||||
version:
|
||||
type: string
|
||||
|
|
Loading…
Reference in a new issue