@codegouvfr/sill
Advanced tools
Comparing version 1.15.0 to 1.15.1
{ | ||
"name": "@codegouvfr/sill", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "The backend of etalab.gouv.fr/sill", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -305,3 +305,3 @@ import type { ReturnType } from "tsafe"; | ||
}, void>; | ||
getAgentAbout: import("@trpc/server").BuildProcedure<"mutation", { | ||
getAgentAbout: import("@trpc/server").BuildProcedure<"query", { | ||
_config: import("@trpc/server").RootConfig<{ | ||
@@ -308,0 +308,0 @@ ctx: Context; |
@@ -249,3 +249,3 @@ "use strict"; | ||
})) | ||
.mutation(async ({ ctx: { user }, input }) => { | ||
.query(async ({ ctx: { user }, input }) => { | ||
if (user === undefined) { | ||
@@ -252,0 +252,0 @@ throw new server_1.TRPCError({ "code": "UNAUTHORIZED" }); |
@@ -300,3 +300,3 @@ import type { ReturnType } from "tsafe"; | ||
) | ||
.mutation(async ({ ctx: { user }, input }) => { | ||
.query(async ({ ctx: { user }, input }) => { | ||
if (user === undefined) { | ||
@@ -303,0 +303,0 @@ throw new TRPCError({ "code": "UNAUTHORIZED" }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
683160