mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-11 04:22:19 +00:00
chore: format
This commit is contained in:
@@ -353,8 +353,8 @@ export async function getService(
|
||||
const bPath = api.paths[b.url] as OpenAPIV3.PathItemObject;
|
||||
const aMethod = a.method.toLowerCase() as Lowercase<OpenAPIV3.HttpMethods>;
|
||||
const bMethod = b.method.toLowerCase() as Lowercase<OpenAPIV3.HttpMethods>;
|
||||
const aWeight = ((aPath?.[aMethod] as AppwriteOperationObject)?.['x-appwrite']?.weight ?? 0);
|
||||
const bWeight = ((bPath?.[bMethod] as AppwriteOperationObject)?.['x-appwrite']?.weight ?? 0);
|
||||
const aWeight = (aPath?.[aMethod] as AppwriteOperationObject)?.['x-appwrite']?.weight ?? 0;
|
||||
const bWeight = (bPath?.[bMethod] as AppwriteOperationObject)?.['x-appwrite']?.weight ?? 0;
|
||||
return aWeight - bWeight;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user