File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
src/packages/next/pages/api/v2/compute Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
GetComputeServerGoogleImagesOutputSchema ,
14
14
} from "lib/api/schema/compute/get-images-google" ;
15
15
16
-
17
16
async function handle ( req , res ) {
18
17
try {
19
18
res . json ( await get ( req ) ) ;
@@ -42,9 +41,9 @@ async function get(req) {
42
41
43
42
export default apiRoute ( {
44
43
getImagesGoogle : apiRouteOperation ( {
45
- method : "GET " ,
44
+ method : "POST " ,
46
45
openApiOperation : {
47
- tags : [ "Compute" ]
46
+ tags : [ "Compute" ] ,
48
47
} ,
49
48
} )
50
49
. input ( {
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
GetComputeServerImagesOutputSchema ,
14
14
} from "lib/api/schema/compute/get-images" ;
15
15
16
-
17
16
async function handle ( req , res ) {
18
17
try {
19
18
res . json ( await get ( req ) ) ;
@@ -42,9 +41,9 @@ async function get(req) {
42
41
43
42
export default apiRoute ( {
44
43
getImages : apiRouteOperation ( {
45
- method : "GET " ,
44
+ method : "POST " ,
46
45
openApiOperation : {
47
- tags : [ "Compute" ]
46
+ tags : [ "Compute" ] ,
48
47
} ,
49
48
} )
50
49
. input ( {
You can’t perform that action at this time.
0 commit comments