Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix some typos in comments (#5332)

xiaolinny6beb3fcde069
diff --git a/plugin/cron/chain_test.go b/plugin/cron/chain_test.go
index 55d99adb6..04ae6ccfd 100644
--- a/plugin/cron/chain_test.go
+++ b/plugin/cron/chain_test.go
@@ -187,7 +187,7 @@ func TestChainSkipIfStillRunning(t *testing.T) {
}()
// After 5ms, the first job is still in progress, and the second job was
- // aleady skipped.
+ // already skipped.
time.Sleep(5 * time.Millisecond)
started, done := j.Started(), j.Done()
if started != 1 || done != 0 {
diff --git a/server/router/api/v1/attachment_service.go b/server/router/api/v1/attachment_service.go
index 1c82a5a84..ab5149237 100644
--- a/server/router/api/v1/attachment_service.go
+++ b/server/router/api/v1/attachment_service.go
@@ -321,7 +321,7 @@ func SaveAttachmentBlob(ctx context.Context, profile *profile.Profile, stores *s
} else if instanceStorageSetting.StorageType == storepb.InstanceStorageSetting_S3 {
s3Config := instanceStorageSetting.S3Config
if s3Config == nil {
- return errors.Errorf("No actived external storage found")
+ return errors.Errorf("No activated external storage found")
}
s3Client, err := s3.NewClient(ctx, s3Config)
if err != nil {