chore: format

This commit is contained in:
ChiragAgg5k
2025-04-12 19:13:49 +05:30
parent e0fb317967
commit b7dd715a96

View File

@@ -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;
});