mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-12 23:38:20 +00:00
Fix misc comment typos (#37183)
This commit is contained in:
@@ -11,7 +11,7 @@ import type {
|
||||
import type { ApiReportJSON } from 'mastodon/api_types/reports';
|
||||
|
||||
// Maximum number of avatars displayed in a notification group
|
||||
// This corresponds to the max lenght of `group.sampleAccountIds`
|
||||
// This corresponds to the max length of `group.sampleAccountIds`
|
||||
export const NOTIFICATIONS_GROUP_MAX_AVATARS = 8;
|
||||
|
||||
interface BaseNotificationGroup
|
||||
|
||||
@@ -28,7 +28,7 @@ module ApplicationExtension
|
||||
end
|
||||
|
||||
def redirect_uris
|
||||
# Doorkeeper stores the redirect_uri value as a newline delimeted list in
|
||||
# Doorkeeper stores the redirect_uri value as a newline delimited list in
|
||||
# the database:
|
||||
redirect_uri.split
|
||||
end
|
||||
|
||||
@@ -53,7 +53,7 @@ class BulkImport < ApplicationRecord
|
||||
BulkImport.increment_counter(:processed_items, bulk_import_id)
|
||||
BulkImport.increment_counter(:imported_items, bulk_import_id) if imported
|
||||
|
||||
# Since the incrementation has been done atomically, concurrent access to `bulk_import` is now bening
|
||||
# Since the incrementation has been done atomically, concurrent access to `bulk_import` is now benign
|
||||
bulk_import = BulkImport.find(bulk_import_id)
|
||||
bulk_import.update!(state: :finished, finished_at: Time.now.utc) if bulk_import.processed_items == bulk_import.total_items
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user