Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso committed Dec 24, 2024
1 parent fed9ee4 commit 949bce6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lib/api/ClientApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1622,12 +1622,7 @@ export default class ClientApi extends NextApiTemplate<ApiDependencies> {
},
});

ping = createNextRoute<
[],
{ result: string },
ApiDependencies,
void
>({
ping = createNextRoute<[], { result: string }, ApiDependencies, void>({
isAuthorized: AccessLevels.AlwaysAuthorized,
handler: async (req, res, authData, args) => {
return res.status(200).send({ result: "success" });
Expand Down
6 changes: 5 additions & 1 deletion lib/api/ServerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import { User } from "../Types";
import ClientApi from "@/lib/api/ClientApi";
import ResendUtils from "../ResendUtils";
import SlackClient from "../SlackClient";
import { NextServerApi, NextApiTemplate, NextResponse } from "unified-api-nextjs";
import {
NextServerApi,
NextApiTemplate,
NextResponse,
} from "unified-api-nextjs";

export default class ServerApi extends NextServerApi<ApiDependencies> {
constructor(clientApi?: NextApiTemplate<ApiDependencies>) {
Expand Down

0 comments on commit 949bce6

Please sign in to comment.