Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
varCepheid committed Dec 14, 2024
1 parent cab3da4 commit f996552
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/api/realm/get-realms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ import { request } from '../base'
import { Realm } from '.'

// Public realms will be returned. If logged-in, the user's realm will also be returned.
export const getRealms = () => request<Realm[]>('GET', 'realms').then(realms => realms.sort((a, b) => a.name.localeCompare(b.name)))
export const getRealms = () =>
request<Realm[]>('GET', 'realms').then((realms) =>
realms.sort((a, b) => a.name.localeCompare(b.name)),
)

0 comments on commit f996552

Please sign in to comment.